Update app.js

master
thyttan 2022-11-06 01:01:33 +01:00 committed by GitHub
parent b4b3775b23
commit 218cfd9c08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -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