From 989e0e0c76af98c70961cc0983f7343439c1c9d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jo=C5=84ski?= Date: Fri, 13 May 2022 13:54:51 +0200 Subject: [PATCH] [BH-1486] Stop meditation time setting from increasing itself Stop meditation time setting from increasing itself --- .../presenter/MeditationTimerPresenter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/products/BellHybrid/apps/application-bell-meditation-timer/presenter/MeditationTimerPresenter.cpp b/products/BellHybrid/apps/application-bell-meditation-timer/presenter/MeditationTimerPresenter.cpp index 47e6fa7a3aefc1606916938ba1653708153648fd..a594be3a9c1d2a26f255924c2cfdcd84426896ed 100644 --- a/products/BellHybrid/apps/application-bell-meditation-timer/presenter/MeditationTimerPresenter.cpp +++ b/products/BellHybrid/apps/application-bell-meditation-timer/presenter/MeditationTimerPresenter.cpp @@ -42,7 +42,7 @@ namespace app::meditation std::uint8_t MeditationTimerPresenter::getCurrentValue() { const auto value = settings->getValue(meditationDBRecordName, settings::SettingsScope::AppLocal); - auto defTimer = utils::getNumericValue(value); + auto defTimer = utils::getNumericValue(value); if (defTimer == emptyValue) { defTimer = defaultValue; }