diff --git a/lib/ui/widgets/first_screen/pay_contact_search_page.dart b/lib/ui/widgets/first_screen/pay_contact_search_page.dart index ab48736e7b63f95a5e0b6fc7e5b2d614fe56db09..3e5f9d37e1a780ba07d68344bab5a27563fb22bf 100644 --- a/lib/ui/widgets/first_screen/pay_contact_search_page.dart +++ b/lib/ui/widgets/first_screen/pay_contact_search_page.dart @@ -237,16 +237,16 @@ class _PayContactSearchPageState extends State<PayContactSearchPage> { color: isFavorite ? Colors.red.shade400 : null, ), onPressed: () { - setState(() { - if (!isFavorite) { - contactsCubit.addContact(contact); - } else { - contactsCubit.removeContact(Contact( - pubKey: contact.pubKey, - )); - } - }); + // setState(() { + if (!isFavorite) { + contactsCubit.addContact(contact); + } else { + contactsCubit.removeContact(Contact( + pubKey: contact.pubKey, + )); + } }); + // }); }), ); }