diff --git a/apps.json b/apps.json index 8680dfc97..146e3a1a0 100644 --- a/apps.json +++ b/apps.json @@ -4680,7 +4680,7 @@ "name": "Charging Status", "shortName":"Charging", "icon": "widget.png", - "version":"0.1.1", + "version":"0.1.2", "type": "widget", "description": "A simple widget that shows up whenever the watch starts charging.", "tags": "widget,battery", diff --git a/apps/chargingStatus/widget.js b/apps/chargingStatus/widget.js index 90d048fa4..1352c2b11 100644 --- a/apps/chargingStatus/widget.js +++ b/apps/chargingStatus/widget.js @@ -6,13 +6,13 @@ Bangle.drawWidgets(); // re-layout widgets g.flip(); }); - WIDGETS.chargingStatus = { + WIDGETS["chargingStatus"] = { area: 'tr', - width: 16, + width: 32, draw() { g.reset(); //if (Bangle.isCharging()) { - g.drawString("X", this.x, this.y); + g.drawString("X", this.x, this.y); //g.setColor('#0f0').drawImage(atob("EBCBAf9//3/+f/x//P/4//gH8A/wD+Af/x//P/4//n/+//7/"), this.x, this.y); //} },