diff --git a/filcnaplo_premium/lib/providers/goal_provider.dart b/filcnaplo_premium/lib/providers/goal_provider.dart index 86b981d..18f3244 100644 --- a/filcnaplo_premium/lib/providers/goal_provider.dart +++ b/filcnaplo_premium/lib/providers/goal_provider.dart @@ -22,7 +22,7 @@ class GoalProvider extends ChangeNotifier { Future fetchDone({required GradeProvider gradeProvider}) async { var goalAvgs = await _db.userQuery.subjectGoalAverages(userId: _user.id!); - var beforeAvgs = await _db.userQuery.subjectGoalAverages(userId: _user.id!); + var beforeAvgs = await _db.userQuery.subjectGoalBefores(userId: _user.id!); List subjects = gradeProvider.grades .map((e) => e.subject)