mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
trigger activityResume only at live fragments
This commit is contained in:
@ -150,10 +150,10 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
|
|||||||
initFragments()
|
initFragments()
|
||||||
} else {
|
} else {
|
||||||
refreshContacts(ALL_TABS_MASK)
|
refreshContacts(ALL_TABS_MASK)
|
||||||
}
|
|
||||||
|
|
||||||
getAllFragments().forEach {
|
getAllFragments().forEach {
|
||||||
it?.onActivityResume()
|
it?.onActivityResume()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
isFirstResume = false
|
isFirstResume = false
|
||||||
|
Reference in New Issue
Block a user