Correct change test for wake up mode setting
This commit is contained in:
parent
df8ea7fe52
commit
b45d7c372d
|
@ -78,7 +78,7 @@ namespace Pinetime {
|
|||
};
|
||||
|
||||
void setWakeUpMode(WakeUpMode wakeUp, bool enabled) {
|
||||
if (!isWakeUpModeOn(wakeUp)) {
|
||||
if (enabled != isWakeUpModeOn(wakeUp)) {
|
||||
settingsChanged = true;
|
||||
}
|
||||
settings.wakeUpMode.set(static_cast<size_t>(wakeUp), enabled);
|
||||
|
|
Loading…
Reference in a new issue