flip some activity check at refreshing events

This commit is contained in:
tibbi 2018-02-18 20:23:36 +01:00
parent 907abbf5cf
commit e47ab2f145

View File

@ -574,8 +574,8 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
}
private fun refreshViewPager() {
if (!isActivityDestroyed()) {
runOnUiThread {
runOnUiThread {
if (!isActivityDestroyed()) {
currentFragments.last().refreshEvents()
}
}