properly update the FAB color

This commit is contained in:
tibbi 2018-02-05 14:54:38 +01:00
parent 5eb3fa6b91
commit 4c68b3b6af
1 changed files with 4 additions and 1 deletions

View File

@ -137,7 +137,10 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
storeStateVariables()
updateWidgets()
updateTextColors(calendar_coordinator)
if (config.storedView != EVENTS_LIST_VIEW) {
updateTextColors(calendar_coordinator)
}
calendar_fab.setColors(config.textColor, getAdjustedPrimaryColor(), config.backgroundColor)
search_holder.background = ColorDrawable(config.backgroundColor)
}