properly refresh the viewpager at some Weekly view config changes

This commit is contained in:
tibbi 2018-01-19 23:22:16 +01:00
parent c1871ad27a
commit f3ca86e809
1 changed files with 1 additions and 1 deletions

View File

@ -143,13 +143,13 @@ class MainActivity : SimpleActivity(), NavigationListener, RefreshRecyclerViewLi
invalidateOptionsMenu()
}
storeStateVariables()
if (config.storedView == WEEKLY_VIEW) {
if (mStoredIsSundayFirst != config.isSundayFirst || mStoredUse24HourFormat != config.use24hourFormat) {
fillWeeklyViewPager()
}
}
storeStateVariables()
updateWidgets()
updateTextColors(calendar_coordinator)
search_holder.background = ColorDrawable(config.backgroundColor)