mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 03:18:06 +00:00
Disable SwipeRefresh if no vcard list is set in config
This commit is contained in:
parent
a7efacaeb6
commit
6488c89973
1 changed files with 1 additions and 0 deletions
|
|
@ -384,6 +384,7 @@ class MasterContactsFragment : MasterFragment<ContactMasterFragmentBinding, Cont
|
|||
super.onResume()
|
||||
listViewModel.refreshVCards()
|
||||
listViewModel.updateContactsList(true)
|
||||
binding.swiperefresh.isEnabled = corePreferences.contactsVCardList != null && corePreferences.contactsVCardList!!.isNotEmpty()
|
||||
}
|
||||
|
||||
@Deprecated("Deprecated in Java")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue