~aleteoryx/muditaos

989e0e0c76af98c70961cc0983f7343439c1c9d7 — Paweł Joński 3 years ago de9dbea
[BH-1486] Stop meditation time setting from increasing itself

Stop meditation time setting from increasing itself
M products/BellHybrid/apps/application-bell-meditation-timer/presenter/MeditationTimerPresenter.cpp => products/BellHybrid/apps/application-bell-meditation-timer/presenter/MeditationTimerPresenter.cpp +1 -1
@@ 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<std::uint8_t>(value);
        auto defTimer    = utils::getNumericValue<std::uint32_t>(value);
        if (defTimer == emptyValue) {
            defTimer = defaultValue;
        }