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:
Philip Abbey
2023-12-02 19:04:53 +00:00
parent ea58171b2f
commit 8c0540ee45
9 changed files with 115 additions and 4 deletions

View File

@ -82,6 +82,7 @@ class ErrorDelegate extends WatchUi.BehaviorDelegate {
WatchUi.BehaviorDelegate.initialize();
}
function onBack() {
getApp().getQuitTimer().reset();
WatchUi.popView(WatchUi.SLIDE_DOWN);
return true;
}