mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-02 04:47:01 +08:00
AppDrawer: Add icons
This commit is contained in:
@ -11,6 +11,7 @@ class AppDrawer extends StatelessWidget {
|
|||||||
|
|
||||||
if (!appState.remoteGitRepoConfigured) {
|
if (!appState.remoteGitRepoConfigured) {
|
||||||
setupGitButton = ListTile(
|
setupGitButton = ListTile(
|
||||||
|
leading: Icon(Icons.sync),
|
||||||
title: Text('Setup Git Host'),
|
title: Text('Setup Git Host'),
|
||||||
trailing: Icon(
|
trailing: Icon(
|
||||||
Icons.info,
|
Icons.info,
|
||||||
@ -45,6 +46,7 @@ class AppDrawer extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
setupGitButton,
|
setupGitButton,
|
||||||
ListTile(
|
ListTile(
|
||||||
|
leading: Icon(Icons.share),
|
||||||
title: Text('Share App'),
|
title: Text('Share App'),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.pop(context);
|
Navigator.pop(context);
|
||||||
@ -52,6 +54,7 @@ class AppDrawer extends StatelessWidget {
|
|||||||
},
|
},
|
||||||
),
|
),
|
||||||
ListTile(
|
ListTile(
|
||||||
|
leading: Icon(Icons.feedback),
|
||||||
title: Text('Feedback'),
|
title: Text('Feedback'),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
var emailAddress = 'gitjournal.io@gmail.com';
|
var emailAddress = 'gitjournal.io@gmail.com';
|
||||||
@ -65,6 +68,7 @@ class AppDrawer extends StatelessWidget {
|
|||||||
},
|
},
|
||||||
),
|
),
|
||||||
ListTile(
|
ListTile(
|
||||||
|
leading: Icon(Icons.settings),
|
||||||
title: Text('Settings'),
|
title: Text('Settings'),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.pop(context);
|
Navigator.pop(context);
|
||||||
|
Reference in New Issue
Block a user