From b7c353475174e6e35429f0de5b99594967b083bb Mon Sep 17 00:00:00 2001 From: Kima Date: Sat, 2 Sep 2023 20:26:10 +0200 Subject: [PATCH] changed back temp goal planner things --- .../goal_planner/goal_planner_screen.dart | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) 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,