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,12 +150,12 @@ 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
} }