mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-08-03 02:18:34 +00:00
Initial version with "auto quit"
Quit the application after a user settable period of time based on a timeout value from the settings.
This commit is contained in:
@ -82,6 +82,7 @@ class ErrorDelegate extends WatchUi.BehaviorDelegate {
|
||||
WatchUi.BehaviorDelegate.initialize();
|
||||
}
|
||||
function onBack() {
|
||||
getApp().getQuitTimer().reset();
|
||||
WatchUi.popView(WatchUi.SLIDE_DOWN);
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user