mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-10-22 15:11:51 +02:00
correcitons
This commit is contained in:
parent
39241889be
commit
e16c8f8bab
|
@ -124,6 +124,18 @@ namespace Pinetime {
|
||||||
return settings.watchFaceInfineat.showSideCover;
|
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) {
|
void SetInfineatColorIndex(int index) {
|
||||||
if (index != settings.watchFaceInfineat.colorIndex) {
|
if (index != settings.watchFaceInfineat.colorIndex) {
|
||||||
settings.watchFaceInfineat.colorIndex = index;
|
settings.watchFaceInfineat.colorIndex = index;
|
||||||
|
@ -155,13 +167,6 @@ namespace Pinetime {
|
||||||
return settings.PTS.weatherEnable;
|
return settings.PTS.weatherEnable;
|
||||||
};
|
};
|
||||||
|
|
||||||
void SetInfineatShowAlarmStatus(bool show) {
|
|
||||||
if (show != settings.watchFaceInfineat.showAlarmStatus) {
|
|
||||||
settings.watchFaceInfineat.showAlarmStatus = show;
|
|
||||||
settingsChanged = true;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
void SetAppMenu(uint8_t menu) {
|
void SetAppMenu(uint8_t menu) {
|
||||||
appMenu = menu;
|
appMenu = menu;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue