~aleteoryx/muditaos

347bda1c6565e2f10af31f7c9f56bb018ecf46cf — Bartosz Szostak 2 years ago 01843fb
[MOS-829] Fix the Pure's alarm plays indefinitely

According to the requirements the alarm after.
30 minutes of playing will be stopped
instead of snoozed.
1 files changed, 1 insertions(+), 1 deletions(-)

M module-apps/apps-common/popups/presenter/AlarmPresenter.cpp
M module-apps/apps-common/popups/presenter/AlarmPresenter.cpp => module-apps/apps-common/popups/presenter/AlarmPresenter.cpp +1 -1
@@ 196,7 196,7 @@ namespace app::popup
    AlarmPopupPresenter::AlarmPopupPresenter(ApplicationCommon *app) : AlarmPopupContract::Presenter(app)
    {
        timerHandle = sys::TimerFactory::createSingleShotTimer(
            app, "AlarmTimer", ACTIVE_ALARM_TIMEOUT, [this](sys::Timer &) { snoozeHit(); });
            app, "AlarmTimer", ACTIVE_ALARM_TIMEOUT, [this](sys::Timer &) { stopAlarm(); });
        timerHandle.start();
    }
} // namespace app::popup