Update rellotge.js

master
Enric Pineda 2024-01-31 15:40:45 +01:00 committed by GitHub
parent c4dcec8997
commit d1ab9e2ebf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -113,7 +113,8 @@ setTimeout(drawWidgets, 100);
// handle switch display on by pressing BTN1
Bangle.on('lcdPower', function(on) {
if (on) {
drawWidgets();
Bangle.loadWidgets();
Bangle.drawWidgets();
//drawSimpleClock();
}
});