Merge pull request #740 from Aga-C/fix-sorting

Fixed refreshing after sorting
This commit is contained in:
Tibor Kaputa 2021-12-07 14:16:10 +01:00 committed by GitHub
commit 2afdd0282e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -562,10 +562,12 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
} }
if (refreshTabsMask and TAB_CONTACTS != 0) { if (refreshTabsMask and TAB_CONTACTS != 0) {
contacts_fragment?.skipHashComparing = true
contacts_fragment?.refreshContacts(contacts) contacts_fragment?.refreshContacts(contacts)
} }
if (refreshTabsMask and TAB_FAVORITES != 0) { if (refreshTabsMask and TAB_FAVORITES != 0) {
favorites_fragment?.skipHashComparing = true
favorites_fragment?.refreshContacts(contacts) favorites_fragment?.refreshContacts(contacts)
} }