Updated jbm8b
parent
67b2b08e09
commit
bfe298f615
|
|
@ -775,7 +775,7 @@
|
|||
],
|
||||
"allow_emulator":true,
|
||||
"type":"app",
|
||||
"version": "0.01",
|
||||
"version": "0.02",
|
||||
"sortorder" : -9
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -19,5 +19,5 @@
|
|||
"evaluate": true
|
||||
}
|
||||
],
|
||||
"version": "1.1.0"
|
||||
"version": "0.02"
|
||||
}
|
||||
|
|
@ -66,20 +66,15 @@ function ask() {
|
|||
g.clear();
|
||||
|
||||
Bangle.loadWidgets();
|
||||
Bangle.drawWidgets();
|
||||
ask();
|
||||
|
||||
// Event Handlers
|
||||
|
||||
Bangle.on('touch', (button) => reply(button));
|
||||
|
||||
setWatch(ask, BTN1, {repeat:true, edge:"falling"});
|
||||
setWatch(reply, BTN3, {repeat:true, edge:"falling"});
|
||||
setWatch(ask, BTN1, { repeat: true, edge: "falling" });
|
||||
setWatch(reply, BTN3, { repeat: true, edge: "falling" });
|
||||
|
||||
// Back to launcher
|
||||
setWatch(Bangle.showLauncher, BTN2, {repeat:false, edge:"falling"});
|
||||
|
||||
Bangle.on('lcdPower', (on) => {
|
||||
if (on) {
|
||||
Bangle.drawWidgets();
|
||||
ask();
|
||||
}
|
||||
});
|
||||
setWatch(Bangle.showLauncher, BTN2, { repeat: false, edge: "falling" });
|
||||
Loading…
Reference in New Issue