Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
praslnx8 committed Jan 2, 2024
1 parent 5dea649 commit 2e98e6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/domain/models/goal.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ class Goal {
}

double getProgress() {
double progress = targetAmount > 0 ? getInvestedValue() / targetAmount : 0;
double progress =
targetAmount > 0 ? getFutureValueOnTargetDate() / targetAmount : 0;
return progress;
}

Expand Down

0 comments on commit 2e98e6a

Please sign in to comment.