fix the UI issue with address book (#1803)

This commit is contained in:
Serhii
2024-11-13 19:20:08 -06:00
committed by GitHub
parent ed5e701d80
commit cf7f019a92
2 changed files with 17 additions and 9 deletions
@@ -136,10 +136,11 @@ abstract class ContactListViewModelBase with Store {
_currency?.tag == element.type.toString();
}
void dispose() async {
_subscription?.cancel();
void dispose() => _subscription?.cancel();
void saveCustomOrder() {
final List<Contact> contactsSourceCopy = contacts.map((e) => e.original).toList();
await reorderContacts(contactsSourceCopy);
reorderContacts(contactsSourceCopy);
}
void reorderAccordingToContactList() =>