From b9c9b8acc18dc1836e176701f1bf55ac871ae6e6 Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 16 Aug 2021 16:31:23 +1000 Subject: [PATCH] Add some icon --- lib/settings/login.dart | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/lib/settings/login.dart b/lib/settings/login.dart index 13db320e..0e9bf5d7 100644 --- a/lib/settings/login.dart +++ b/lib/settings/login.dart @@ -179,14 +179,20 @@ class _InvenTreeLoginSettingsState extends State { Navigator.of(context).pop(); _selectProfile(context, profile); }, - child: Text(L10().profileConnect), + child: ListTile( + title: Text(L10().profileConnect), + leading: FaIcon(FontAwesomeIcons.server), + ) ), SimpleDialogOption( onPressed: () { Navigator.of(context).pop(); _editProfile(context, userProfile: profile); }, - child: Text(L10().profileEdit), + child: ListTile( + title: Text(L10().profileEdit), + leading: FaIcon(FontAwesomeIcons.edit) + ) ), SimpleDialogOption( onPressed: () { @@ -200,7 +206,10 @@ class _InvenTreeLoginSettingsState extends State { } ); }, - child: Text(L10().profileDelete), + child: ListTile( + title: Text(L10().profileDelete), + leading: FaIcon(FontAwesomeIcons.trashAlt), + ) ) ], );