mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-06-17 20:08:33 +00:00
Update Settings.mc
Rearranged 'else' clauses.
This commit is contained in:
@ -103,13 +103,13 @@ class Settings {
|
|||||||
Background.deleteActivityCompletedEvent();
|
Background.deleteActivityCompletedEvent();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Explicitly disable the background event which persists when the application closes.
|
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoPhone) as Lang.String);
|
||||||
// If !mHasService disable the Settings option as user feedback
|
|
||||||
unsetIsSensorsLevelEnabled();
|
|
||||||
unsetWebhookId();
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ErrorView.show(WatchUi.loadResource($.Rez.Strings.NoPhone) as Lang.String);
|
// Explicitly disable the background event which persists when the application closes.
|
||||||
|
// If !mHasService disable the Settings option as user feedback
|
||||||
|
unsetIsSensorsLevelEnabled();
|
||||||
|
unsetWebhookId();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// System.println("Settings update(): getTemporalEventRegisteredTime() = " + Background.getTemporalEventRegisteredTime());
|
// System.println("Settings update(): getTemporalEventRegisteredTime() = " + Background.getTemporalEventRegisteredTime());
|
||||||
|
Reference in New Issue
Block a user