Actually save the threshold

Prevent a few crashes due to an LV task being active when it shouldnt be.
This commit is contained in:
Tim Keller
2021-09-28 04:21:47 +00:00
parent d2510d7926
commit f780ac999a
3 changed files with 23 additions and 8 deletions

View File

@@ -66,7 +66,7 @@ std::unique_ptr<Screen> Settings::CreateScreen3() {
{Symbols::none, "None", Apps::None}
}};
if (settingsController.isWakeUpModeOn(Pinetime::Controllers::Settings::WakeUpMode::Shake)) {
applications[1] = {Symbols::list, "Shake Threshold", Apps::SettingShakeThreshold};
applications[1] = {Symbols::list, "Wake Sense", Apps::SettingShakeThreshold};
}
return std::make_unique<Screens::List>(2, 3, app, settingsController, applications);
}