diff --git a/apps/supmariodark/supmariodark.js b/apps/supmariodark/supmariodark.js index ae3b976b2..00a20e5fb 100644 --- a/apps/supmariodark/supmariodark.js +++ b/apps/supmariodark/supmariodark.js @@ -72,13 +72,12 @@ const onHalfSecond =()=>{ Bangle.on('lcdPower', (on) => { - resetTimer(); - if (on) { - om=-1; - startTimer(); - drawFace(); - } - else { + resetTimer(); + if (on) { + om=-1; + startTimer(); + drawFace(); + } else { resetTimer(); } }); @@ -87,4 +86,4 @@ Bangle.loadWidgets(); Bangle.drawWidgets(); drawFace(); startTimer(); -setWatch(Bangle.showLauncher, BTN2, {repeat:false,edge:"falling"}); \ No newline at end of file +setWatch(Bangle.showLauncher, BTN2, {repeat:false,edge:"falling"});