Drawer reorder
This commit is contained in:
parent
c73619c6ee
commit
6064aa703b
1 changed files with 9 additions and 9 deletions
|
|
@ -62,15 +62,6 @@ Widget mainDrawer(BuildContext context) {
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
new Divider(),
|
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(
|
new ListTile(
|
||||||
leading: const Icon(Icons.favorite),
|
leading: const Icon(Icons.favorite),
|
||||||
title: new Text(S.of(context).supportThisInitiative),
|
title: new Text(S.of(context).supportThisInitiative),
|
||||||
|
|
@ -80,6 +71,15 @@ Widget mainDrawer(BuildContext context) {
|
||||||
Navigator.pushNamed(context, '/subscriptions');
|
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 ?
|
globals.isDevelopment ?
|
||||||
new ListTile(
|
new ListTile(
|
||||||
leading: const Icon(Icons.bug_report),
|
leading: const Icon(Icons.bug_report),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue