wohrm: Don't draw home-icon on Banglejs2

pull/1253/head
Adam Schmalhofer 2021-12-19 15:46:56 +01:00
parent 3e0e590b86
commit 616f1f784f
1 changed files with 4 additions and 2 deletions

View File

@ -320,11 +320,13 @@ function switchOffApp(){
}
Bangle.on('lcdPower', (on) => {
g.clear();
if (on) {
g.clear();
Bangle.drawWidgets();
renderHomeIcon();
if (typeof(BTN5) !== typeof(undefined)) {
renderHomeIcon();
}
renderLshape(lowerLshape);
renderLshape(upperLshape);
lowerLimitChanged = true;