update
This commit is contained in:
1 parent
f7bcbc53ef
commit
65b26786a0
39 files changed
+4710
-3044
No files matched your search
@@ -0,0 +1,24 @@
|
||||
import Toybox.WatchUi;
|
||||
import Toybox.Lang;
|
||||
|
||||
class menuAppDelegate extends WatchUi.Menu2InputDelegate {
|
||||
|
||||
function initialize() {
|
||||
Menu2InputDelegate.initialize();
|
||||
}
|
||||
|
||||
function onSelect(item as WatchUi.MenuItem) as Void {
|
||||
switch(item.getId() as Number){
|
||||
case 0:
|
||||
break;
|
||||
case 1:
|
||||
WatchUi.popView(WatchUi.SLIDE_IMMEDIATE);
|
||||
}
|
||||
}
|
||||
|
||||
function onCancel() as Boolean {
|
||||
WatchUi.popView(WatchUi.SLIDE_DOWN);
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user