From e16c8f8bab066fd3953bab0bc0413cee4de7d8b3 Mon Sep 17 00:00:00 2001 From: Eve C Date: Wed, 16 Oct 2024 17:01:53 +0200 Subject: [PATCH] correcitons --- src/components/settings/Settings.h | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/components/settings/Settings.h b/src/components/settings/Settings.h index f65f95c1..e175ae50 100644 --- a/src/components/settings/Settings.h +++ b/src/components/settings/Settings.h @@ -124,6 +124,18 @@ namespace Pinetime { return settings.watchFaceInfineat.showSideCover; }; + void SetInfineatShowAlarmStatus(bool show) { + if (show != settings.watchFaceInfineat.showAlarmStatus) { + settings.watchFaceInfineat.showAlarmStatus = show; + settingsChanged = true; + } + }; + + bool GetInfineatShowAlarmStatus() const { + return settings.watchFaceInfineat.showAlarmStatus; + }; + + void SetInfineatColorIndex(int index) { if (index != settings.watchFaceInfineat.colorIndex) { settings.watchFaceInfineat.colorIndex = index; @@ -155,13 +167,6 @@ namespace Pinetime { return settings.PTS.weatherEnable; }; - void SetInfineatShowAlarmStatus(bool show) { - if (show != settings.watchFaceInfineat.showAlarmStatus) { - settings.watchFaceInfineat.showAlarmStatus = show; - settingsChanged = true; - } - }; - void SetAppMenu(uint8_t menu) { appMenu = menu; };