mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2024-12-28 09:11:18 +01:00
flip some activity check at refreshing events
This commit is contained in:
parent
907abbf5cf
commit
e47ab2f145
@ -574,8 +574,8 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
|
||||
}
|
||||
|
||||
private fun refreshViewPager() {
|
||||
if (!isActivityDestroyed()) {
|
||||
runOnUiThread {
|
||||
runOnUiThread {
|
||||
if (!isActivityDestroyed()) {
|
||||
currentFragments.last().refreshEvents()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user