From 2824cba526d0b5fb98d3fd18db277eb703edbeba Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Tue, 24 Nov 2020 08:16:53 +0000 Subject: [PATCH] Remove tabs --- apps/supmariodark/supmariodark.js | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) 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"});