From 4e4cc3e93085061e497c93050f133774c75cf5dc Mon Sep 17 00:00:00 2001 From: Sebastian Di Luzio Date: Sat, 4 Dec 2021 20:50:24 +0100 Subject: [PATCH] attempt to draw icon again --- apps.json | 2 +- apps/widChargingStatus/widget.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps.json b/apps.json index 87750ad2c..6c223e7d2 100644 --- a/apps.json +++ b/apps.json @@ -4680,7 +4680,7 @@ "name": "Charging Status", "shortName":"ChargingStatus", "icon": "widget.png", - "version":"0.1.7", + "version":"0.1.8", "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 bd46b0847..120741b27 100644 --- a/apps/widChargingStatus/widget.js +++ b/apps/widChargingStatus/widget.js @@ -17,10 +17,10 @@ function draw() { g.reset(); - g.setColor("#FD0"); + //g.setColor("#FD0"); //if (Bangle.isCharging()) { - // g.drawImage(chargingSymbol, this.x + 2, this.y); - g.drawString('X',this.x,this.y) + g.drawImage(chargingSymbol, this.x /* + 2 */ , this.y); + //g.drawString('X',this.x,this.y) //} }