From c1b9d08a290942bc48b83d4287e46d04414fb1cc Mon Sep 17 00:00:00 2001 From: Benjamin_6848 <83084481+Benjamin-6848@users.noreply.github.com> Date: Tue, 22 Feb 2022 18:58:13 +0100 Subject: [PATCH] SlidingText-Clock: Removed "wake LCD on face-up" Removed "wake LCD on face-up"-feature of SlidingText-Clock: A watch-face should not set things like "wake LCD on face-up". If you want, that the LCD get activated when facing up, go to Settings > System > LCD > Wake on FaceUp. --- apps/slidingtext/slidingtext.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/apps/slidingtext/slidingtext.js b/apps/slidingtext/slidingtext.js index 3be502cfe..7b56af1a1 100644 --- a/apps/slidingtext/slidingtext.js +++ b/apps/slidingtext/slidingtext.js @@ -623,15 +623,6 @@ Bangle.on('lcdPower', (on) => { } }); -Bangle.on('faceUp',function(up){ - //console.log("faceUp: " + up + " LCD: " + Bangle.isLCDOn()); - if (up && !Bangle.isLCDOn()) { - //console.log("faceUp and LCD off"); - clearTimers(); - Bangle.setLCDPower(true); - } -}); - g.clear(); load_settings(); Bangle.loadWidgets();