Drawer reorder

This commit is contained in:
vjrj 2018-07-13 10:59:36 +02:00
parent c73619c6ee
commit 6064aa703b

View file

@ -62,15 +62,6 @@ Widget mainDrawer(BuildContext context) {
},
),
new Divider(),
new ListTile(
leading: const Icon(Icons.lock),
title: new Text(S.of(context).privacyPolicy),
onTap: () {
// Then close the drawer
Navigator.pop(context);
Navigator.pushNamed(context, PrivacyPage.routeName);
},
),
new ListTile(
leading: const Icon(Icons.favorite),
title: new Text(S.of(context).supportThisInitiative),
@ -80,6 +71,15 @@ Widget mainDrawer(BuildContext context) {
Navigator.pushNamed(context, '/subscriptions');
},
),
new ListTile(
leading: const Icon(Icons.lock),
title: new Text(S.of(context).privacyPolicy),
onTap: () {
// Then close the drawer
Navigator.pop(context);
Navigator.pushNamed(context, PrivacyPage.routeName);
},
),
globals.isDevelopment ?
new ListTile(
leading: const Icon(Icons.bug_report),