mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-17 12:20:51 +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() {
|
private fun refreshViewPager() {
|
||||||
if (!isActivityDestroyed()) {
|
runOnUiThread {
|
||||||
runOnUiThread {
|
if (!isActivityDestroyed()) {
|
||||||
currentFragments.last().refreshEvents()
|
currentFragments.last().refreshEvents()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user