Skip to content
Snippets Groups Projects
Commit 71d22230 authored by poka's avatar poka
Browse files

fix: shouln't be able to see "My contacts" menu if you have no safes.

parent bca30828
No related branches found
No related tags found
1 merge request!52Dev
Pipeline #18204 waiting for manual action
...@@ -164,19 +164,20 @@ class _HomeScreenState extends State<HomeScreen> { ...@@ -164,19 +164,20 @@ class _HomeScreenState extends State<HomeScreen> {
); );
}, },
), ),
ListTile( if (isWalletsExists)
key: keyContacts, ListTile(
title: Text('contactsManagement'.tr()), key: keyContacts,
onTap: () { title: Text('contactsManagement'.tr()),
Navigator.pop(context); onTap: () {
Navigator.push( Navigator.pop(context);
context, Navigator.push(
MaterialPageRoute(builder: (context) { context,
return const ContactsScreen(); MaterialPageRoute(builder: (context) {
}), return const ContactsScreen();
); }),
}, );
), },
),
])), ])),
Align( Align(
alignment: FractionalOffset.bottomCenter, alignment: FractionalOffset.bottomCenter,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment