forked from firka/student-legacy
goalPlanner remove
This commit is contained in:
parent
da7d2b9333
commit
8bac300585
@ -214,25 +214,25 @@ class _GradeSubjectViewState extends State<GradeSubjectView> {
|
|||||||
gradeCalc(context);
|
gradeCalc(context);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
FloatingActionButton.small(
|
// FloatingActionButton.small(
|
||||||
child: const Icon(FeatherIcons.flag, size: 20.0),
|
// child: const Icon(FeatherIcons.flag, size: 20.0),
|
||||||
backgroundColor: Theme.of(context).colorScheme.secondary,
|
// backgroundColor: Theme.of(context).colorScheme.secondary,
|
||||||
onPressed: () {
|
// onPressed: () {
|
||||||
if (!Provider.of<PremiumProvider>(context, listen: false)
|
// if (!Provider.of<PremiumProvider>(context, listen: false)
|
||||||
.hasScope(PremiumScopes.goalPlanner)) {
|
// .hasScope(PremiumScopes.goalPlanner)) {
|
||||||
PremiumLockedFeatureUpsell.show(
|
// PremiumLockedFeatureUpsell.show(
|
||||||
context: context, feature: PremiumFeature.goalplanner);
|
// context: context, feature: PremiumFeature.goalplanner);
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
|
|
||||||
ScaffoldMessenger.of(context).showSnackBar(
|
// ScaffoldMessenger.of(context).showSnackBar(
|
||||||
const SnackBar(content: Text("Hamarosan...")));
|
// const SnackBar(content: Text("Hamarosan...")));
|
||||||
|
|
||||||
//Navigator.of(context).push(CupertinoPageRoute(
|
// Navigator.of(context).push(CupertinoPageRoute(
|
||||||
//builder: (context) => PremiumGoalplannerNewGoalScreen(
|
// builder: (context) => PremiumGoalplannerNewGoalScreen(
|
||||||
// subject: widget.subject)));
|
// subject: widget.subject)));
|
||||||
},
|
// },
|
||||||
),
|
// ),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user