mirror of https://github.com/espruino/BangleApps
Remove tabs
parent
c27eefcc02
commit
2824cba526
|
@ -72,13 +72,12 @@ const onHalfSecond =()=>{
|
||||||
|
|
||||||
|
|
||||||
Bangle.on('lcdPower', (on) => {
|
Bangle.on('lcdPower', (on) => {
|
||||||
resetTimer();
|
resetTimer();
|
||||||
if (on) {
|
if (on) {
|
||||||
om=-1;
|
om=-1;
|
||||||
startTimer();
|
startTimer();
|
||||||
drawFace();
|
drawFace();
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
resetTimer();
|
resetTimer();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -87,4 +86,4 @@ Bangle.loadWidgets();
|
||||||
Bangle.drawWidgets();
|
Bangle.drawWidgets();
|
||||||
drawFace();
|
drawFace();
|
||||||
startTimer();
|
startTimer();
|
||||||
setWatch(Bangle.showLauncher, BTN2, {repeat:false,edge:"falling"});
|
setWatch(Bangle.showLauncher, BTN2, {repeat:false,edge:"falling"});
|
||||||
|
|
Loading…
Reference in New Issue