~aleteoryx/muditaos

ea881043455ebf177edd23be20900c02f07dce59 — Piotr Tański 4 years ago d94ae1e
[EGD-5843] Fixed displaying gray colors in meditation window

The screen should be deeply refreshed on starting the meditation.
1 files changed, 2 insertions(+), 2 deletions(-)

M module-apps/application-meditation/windows/MeditationTimerWindow.cpp
M module-apps/application-meditation/windows/MeditationTimerWindow.cpp => module-apps/application-meditation/windows/MeditationTimerWindow.cpp +2 -2
@@ 68,12 68,12 @@ void MeditationTimerWindow::onBeforeShow(ShowMode mode, SwitchData *data)
            setVisibleRunning();
            auto onMeditationEnd = [&]() -> void {
                setVisibleMeditationEnd();
                application->refreshWindow(RefreshModes::GUI_REFRESH_FAST);
                application->refreshWindow(RefreshModes::GUI_REFRESH_DEEP);
            };
            timer->registerTimeoutCallback(onMeditationEnd);
            timer->reset(meditationTime, meditationIntervalPeriod);
            timer->start();
            application->refreshWindow(RefreshModes::GUI_REFRESH_FAST);
            application->refreshWindow(RefreshModes::GUI_REFRESH_DEEP);
        };
        timer->registerTimeoutCallback(onPreparation);
        timer->setCounterVisible(timerData->isCounterEnabled());