mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2024-12-27 16:53:28 +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()
|
||||
currentFragments.removeAt(currentFragments.size - 1)
|
||||
toggleGoToTodayVisibility(currentFragments.last().shouldGoToTodayBeVisible())
|
||||
currentFragments.last().updateActionBarTitle()
|
||||
currentFragments.last().apply {
|
||||
refreshEvents()
|
||||
updateActionBarTitle()
|
||||
}
|
||||
calendar_fab.beGoneIf(currentFragments.size == 1 && config.storedView == YEARLY_VIEW)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user