trigger activityResume only at live fragments

This commit is contained in:
tibbi
2018-08-04 20:44:05 +02:00
parent 7640d16ef8
commit fadfcb139a

View File

@ -150,10 +150,10 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
initFragments()
} else {
refreshContacts(ALL_TABS_MASK)
}
getAllFragments().forEach {
it?.onActivityResume()
getAllFragments().forEach {
it?.onActivityResume()
}
}
}
isFirstResume = false