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