Fixes in side cover toggling
This commit is contained in:
parent
03790d4e63
commit
a890f8568a
3 changed files with 39 additions and 40 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue