1
0
Fork 0

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
Benjamin_6848 2022-02-22 18:46:56 +01:00 committed by GitHub
parent 3b518643a4
commit 1db240092c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 9 deletions

View File

@ -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();