correction demanded

pull/2422/head
dapgo 2023-01-09 15:29:44 +01:00
parent d2a8756d63
commit a8a9d106fe
1 changed files with 2 additions and 3 deletions

View File

@ -1,8 +1,7 @@
WIDGETS["wdclkbttm"]={area:"br",width:Bangle.CLOCK?0:60,draw:function() {
WIDGETS["wdclkbttm"]={area:"br",width:60,draw:function() {
console.log("clock? "+Bangle.CLOCK);
if (Bangle.CLOCK){
console.log("clock and return");
return;
return; //avoid 2 clocks
}
if (!Bangle.CLOCK == !this.width) { // if we're the wrong size for if we have a clock or not...
this.width = Bangle.CLOCK?0:60;