diff --git a/filcnaplo_premium/lib/ui/mobile/goal_planner/goal_planner_screen.dart b/filcnaplo_premium/lib/ui/mobile/goal_planner/goal_planner_screen.dart index bca524f..13a19ef 100644 --- a/filcnaplo_premium/lib/ui/mobile/goal_planner/goal_planner_screen.dart +++ b/filcnaplo_premium/lib/ui/mobile/goal_planner/goal_planner_screen.dart @@ -375,19 +375,19 @@ class _GoalPlannerScreenState extends State { final goalBeforeGrades = await fetchGoalBees(); final goalPinDates = await fetchGoalPinDates(); - // goalPlans[widget.subject.id] = - // selectedRoute!.dbString; - // goalAvgs[widget.subject.id] = - // goalValue.toStringAsFixed(2); - // goalBeforeGrades[widget.subject.id] = - // avg.toStringAsFixed(2); - // goalPinDates[widget.subject.id] = - // DateTime.now().toIso8601String(); - goalPlans[widget.subject.id] = '1,2,3,4,5,'; - goalAvgs[widget.subject.id] = '3.69'; - goalBeforeGrades[widget.subject.id] = '3.69'; + goalPlans[widget.subject.id] = + selectedRoute!.dbString; + goalAvgs[widget.subject.id] = + goalValue.toStringAsFixed(2); + goalBeforeGrades[widget.subject.id] = + avg.toStringAsFixed(2); goalPinDates[widget.subject.id] = DateTime.now().toIso8601String(); + // goalPlans[widget.subject.id] = '1,2,3,4,5,'; + // goalAvgs[widget.subject.id] = '3.69'; + // goalBeforeGrades[widget.subject.id] = '3.69'; + // goalPinDates[widget.subject.id] = + // DateTime.now().toIso8601String(); await dbProvider.userStore.storeSubjectGoalPlans( goalPlans,