Initialize Colors when regionSampling is disabled

Fixes: 266726881
Test: Manually tested color of default clock
Change-Id: Id92356c955fa0c67764d4b5248ffb8cdab898f4b
This commit is contained in:
Hawkwood Glazier
2023-01-31 22:55:18 +00:00
parent 9e4022e403
commit 7d80461067

View File

@@ -96,6 +96,8 @@ open class ClockEventController @Inject constructor(
if (regionSamplingEnabled) {
clock?.smallClock?.view?.addOnLayoutChangeListener(mLayoutChangedListener)
clock?.largeClock?.view?.addOnLayoutChangeListener(mLayoutChangedListener)
} else {
updateColors()
}
updateFontSizes()
updateTimeListeners()