forked from FOSS/BangleApps
MatrixClock: Removed "wake LCD on face-up"
Removed "wake LCD on face-up"-feature of MatrixClock: 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.master
parent
3b518643a4
commit
1db240092c
|
@ -239,15 +239,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();
|
||||
Bangle.loadWidgets();
|
||||
Bangle.drawWidgets();
|
||||
|
|
Loading…
Reference in New Issue