Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d804610 authored by Hawkwood Glazier's avatar Hawkwood Glazier
Browse files

Initialize Colors when regionSampling is disabled

Fixes: 266726881
Test: Manually tested color of default clock
Change-Id: Id92356c955fa0c67764d4b5248ffb8cdab898f4b
parent 9e4022e4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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()