From 8bac300585dcdeda818a2b521cee992f53aa6aec Mon Sep 17 00:00:00 2001 From: Tihanyi Marcell Date: Thu, 8 Jun 2023 12:54:46 +0200 Subject: [PATCH] goalPlanner remove --- .../lib/pages/grades/grade_subject_view.dart | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/filcnaplo_mobile_ui/lib/pages/grades/grade_subject_view.dart b/filcnaplo_mobile_ui/lib/pages/grades/grade_subject_view.dart index 1ef632c..26d985c 100755 --- a/filcnaplo_mobile_ui/lib/pages/grades/grade_subject_view.dart +++ b/filcnaplo_mobile_ui/lib/pages/grades/grade_subject_view.dart @@ -214,25 +214,25 @@ class _GradeSubjectViewState extends State { gradeCalc(context); }, ), - FloatingActionButton.small( - child: const Icon(FeatherIcons.flag, size: 20.0), - backgroundColor: Theme.of(context).colorScheme.secondary, - onPressed: () { - if (!Provider.of(context, listen: false) - .hasScope(PremiumScopes.goalPlanner)) { - PremiumLockedFeatureUpsell.show( - context: context, feature: PremiumFeature.goalplanner); - return; - } + // FloatingActionButton.small( + // child: const Icon(FeatherIcons.flag, size: 20.0), + // backgroundColor: Theme.of(context).colorScheme.secondary, + // onPressed: () { + // if (!Provider.of(context, listen: false) + // .hasScope(PremiumScopes.goalPlanner)) { + // PremiumLockedFeatureUpsell.show( + // context: context, feature: PremiumFeature.goalplanner); + // return; + // } - ScaffoldMessenger.of(context).showSnackBar( - const SnackBar(content: Text("Hamarosan..."))); + // ScaffoldMessenger.of(context).showSnackBar( + // const SnackBar(content: Text("Hamarosan..."))); - //Navigator.of(context).push(CupertinoPageRoute( - //builder: (context) => PremiumGoalplannerNewGoalScreen( - // subject: widget.subject))); - }, - ), + // Navigator.of(context).push(CupertinoPageRoute( + // builder: (context) => PremiumGoalplannerNewGoalScreen( + // subject: widget.subject))); + // }, + // ), ], ), ),