do not refresh contacts on Resume if search is open

This commit is contained in:
tibbi 2020-10-27 22:07:23 +01:00
parent 76ac4b58fb
commit c893b1d9e8

View file

@ -558,7 +558,7 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
}
override fun refreshContacts(refreshTabsMask: Int) {
if (isDestroyed || isFinishing || isGettingContacts) {
if (isDestroyed || isFinishing || isGettingContacts || isSearchOpen) {
return
}