diff --git a/lib/ui/widgets/third_screen/contacts_page.dart b/lib/ui/widgets/third_screen/contacts_page.dart index c36f7fb4ff0520a4c717875f7b329fe3d8f5c9b2..128aca994993fa12bf7e470e914e63759cd6ab9c 100644 --- a/lib/ui/widgets/third_screen/contacts_page.dart +++ b/lib/ui/widgets/third_screen/contacts_page.dart @@ -88,6 +88,16 @@ class _ContactsPageState extends State<ContactsPage> { icon: Icons.delete, label: tr('delete_contact'), ), + if (showShare()) + SlidableAction( + onPressed: (BuildContext c) => + Share.share(contact.pubKey), + backgroundColor: + Theme.of(context).secondaryHeaderColor, + foregroundColor: Theme.of(context).primaryColor, + icon: Icons.share, + label: tr('share_this_key'), + ), /* SlidableAction( onPressed: (BuildContext c) {}, backgroundColor: const Color(0xFF21B7CA), @@ -120,16 +130,6 @@ class _ContactsPageState extends State<ContactsPage> { icon: Icons.copy, label: tr('copy_contact_key'), ), - if (showShare()) - SlidableAction( - onPressed: (BuildContext c) => - Share.share(contact.pubKey), - backgroundColor: - Theme.of(context).secondaryHeaderColor, - foregroundColor: Theme.of(context).primaryColor, - icon: Icons.share, - label: tr('share_this_key'), - ), SlidableAction( onPressed: (BuildContext c) { onSent(c, contact);