diff --git a/apps.json b/apps.json index 8ac5a1de5..fc02b21a7 100644 --- a/apps.json +++ b/apps.json @@ -4680,7 +4680,7 @@ "name": "Charging Status", "shortName":"ChargingStatus", "icon": "widget.png", - "version":"0.1.11", + "version":"0.1.12", "type": "widget", "description": "A simple widget that shows up whenever the watch starts charging.", "tags": "widget,battery", diff --git a/apps/widChargingStatus/widget.js b/apps/widChargingStatus/widget.js index 974e08aa7..15a9b53f3 100644 --- a/apps/widChargingStatus/widget.js +++ b/apps/widChargingStatus/widget.js @@ -7,19 +7,11 @@ g.flip(); }); - const chargingIcon = { - width: 32, - height: 32, - bpp: 1, - transparent: 1, - buffer: require("heatshrink").decompress(atob("///34CB/8/AYv+AYX8AYd/AYP4AY3wAY3gAYXAAYcAEAOAAYgMBHwYDC/0AgIyBAYkDIYQDDg4DGh4DCj4DGL45DCAYhyC/oCBA=")) - } - function draw() { g.reset(); - g.setColor("#FD0"); + //g.setColor("#FD0"); //if (Bangle.isCharging()) { - g.drawImage(chargingIcon, this.x /* + 2 */ , this.y); + g.drawImage(atob("kEgwMB///34CB/8/AYv+AYX8AYd/AYP4AY3wAY3gAYXAAYcAEAOAAYgMBIQIPBAYX+gBGB/gDEgZDCAYcHAY0PAYUfAYxfHIYQDEOQX9AQI="), this.x /* + 2 */ , this.y); //g.drawString('X',this.x,this.y) //} }