mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-01-15 10:08:55 +01:00
refresh events at uncovered fragments
This commit is contained in:
parent
fbd37d4977
commit
b3453bedff
@ -552,7 +552,10 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
|
|||||||
supportFragmentManager.beginTransaction().remove(currentFragments.last()).commit()
|
supportFragmentManager.beginTransaction().remove(currentFragments.last()).commit()
|
||||||
currentFragments.removeAt(currentFragments.size - 1)
|
currentFragments.removeAt(currentFragments.size - 1)
|
||||||
toggleGoToTodayVisibility(currentFragments.last().shouldGoToTodayBeVisible())
|
toggleGoToTodayVisibility(currentFragments.last().shouldGoToTodayBeVisible())
|
||||||
currentFragments.last().updateActionBarTitle()
|
currentFragments.last().apply {
|
||||||
|
refreshEvents()
|
||||||
|
updateActionBarTitle()
|
||||||
|
}
|
||||||
calendar_fab.beGoneIf(currentFragments.size == 1 && config.storedView == YEARLY_VIEW)
|
calendar_fab.beGoneIf(currentFragments.size == 1 && config.storedView == YEARLY_VIEW)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user