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
1 changed files with 2 additions and 2 deletions

View File

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