Update app.js
parent
b4b3775b23
commit
218cfd9c08
|
|
@ -13,13 +13,11 @@ Bangle.setLCDTimeout(0);
|
||||||
g.reset();
|
g.reset();
|
||||||
g.setColor(settings.bg);
|
g.setColor(settings.bg);
|
||||||
g.fillRect(0,0,g.getWidth(),g.getHeight());
|
g.fillRect(0,0,g.getWidth(),g.getHeight());
|
||||||
|
|
||||||
// Any button turns off
|
// Any button turns off
|
||||||
setWatch(()=>load(), BTN1);
|
setWatch(()=>load(), BTN1);
|
||||||
if (global.BTN2) setWatch(()=>load(), BTN2);
|
if (global.BTN2) setWatch(()=>load(), BTN2);
|
||||||
if (global.BTN3) setWatch(()=>load(), BTN3);
|
if (global.BTN3) setWatch(()=>load(), BTN3);
|
||||||
|
// Pressing upper left corner turns off (where red back button would be)
|
||||||
// Press upper left corner to exit (where red back button would be)
|
|
||||||
Bangle.setUI({
|
Bangle.setUI({
|
||||||
mode : 'custom',
|
mode : 'custom',
|
||||||
back : load
|
back : load
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue