aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/settings/Settings.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/components/settings/Settings.h b/src/components/settings/Settings.h
index 686024b2..56248d02 100644
--- a/src/components/settings/Settings.h
+++ b/src/components/settings/Settings.h
@@ -99,18 +99,20 @@ namespace Pinetime {
};
void SetInfineatShowSideCover(bool show) {
- if (show != settings.watchFaceInfineat.showSideCover)
+ if (show != settings.watchFaceInfineat.showSideCover) {
+ settings.watchFaceInfineat.showSideCover = show;
settingsChanged = true;
- settings.watchFaceInfineat.showSideCover = show;
+ }
};
bool GetInfineatShowSideCover() const {
return settings.watchFaceInfineat.showSideCover;
};
void SetInfineatColorIndex(int index) {
- if (index != settings.watchFaceInfineat.colorIndex)
+ if (index != settings.watchFaceInfineat.colorIndex) {
+ settings.watchFaceInfineat.colorIndex = index;
settingsChanged = true;
- settings.watchFaceInfineat.colorIndex = index;
+ }
};
int GetInfineatColorIndex() const {
return settings.watchFaceInfineat.colorIndex;