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
Tags v0.1.7+78
1 merge request!52Dev
Pipeline #18204 waiting for manual action
......@@ -164,19 +164,20 @@ class _HomeScreenState extends State<HomeScreen> {
);
},
),
ListTile(
key: keyContacts,
title: Text('contactsManagement'.tr()),
onTap: () {
Navigator.pop(context);
Navigator.push(
context,
MaterialPageRoute(builder: (context) {
return const ContactsScreen();
}),
);
},
),
if (isWalletsExists)
ListTile(
key: keyContacts,
title: Text('contactsManagement'.tr()),
onTap: () {
Navigator.pop(context);
Navigator.push(
context,
MaterialPageRoute(builder: (context) {
return const ContactsScreen();
}),
);
},
),
])),
Align(
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