removing some redundant color setters

This commit is contained in:
tibbi 2020-04-17 19:55:16 +02:00
parent 3294377836
commit 43b45d9bfe
1 changed files with 2 additions and 6 deletions

View File

@ -145,12 +145,8 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
storeStateVariables()
updateWidgets()
if (config.storedView != EVENTS_LIST_VIEW) {
updateTextColors(calendar_coordinator)
}
search_placeholder.setTextColor(config.textColor)
search_placeholder_2.setTextColor(config.textColor)
calendar_fab.setColors(config.textColor, getAdjustedPrimaryColor(), config.backgroundColor)
updateTextColors(calendar_coordinator)
search_holder.background = ColorDrawable(config.backgroundColor)
checkSwipeRefreshAvailability()
checkShortcuts()