From 5dea649df15f115f58ca6c80d99ef51f1aa1a9a4 Mon Sep 17 00:00:00 2001 From: Prasanna Anbazhagan Date: Tue, 2 Jan 2024 12:09:58 +0530 Subject: [PATCH] bug fix --- lib/domain/models/goal.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/domain/models/goal.dart b/lib/domain/models/goal.dart index dee4fbe..742c60a 100644 --- a/lib/domain/models/goal.dart +++ b/lib/domain/models/goal.dart @@ -73,7 +73,7 @@ class Goal { return 0; } return taggedInvestments.entries - .map((e) => e.key.getFutureValueOn(targetDate) * e.value) + .map((e) => e.key.getFutureValueOn(targetDate) * e.value / 100) .reduce((a, b) => a + b); }