From 168515a2efe4242503494e076f52b6a6a05cd601 Mon Sep 17 00:00:00 2001 From: Sebastian Di Luzio Date: Sat, 4 Dec 2021 20:18:24 +0100 Subject: [PATCH] Update widget.js --- apps/chargingStatus/widget.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/chargingStatus/widget.js b/apps/chargingStatus/widget.js index 1352c2b11..6a3837ace 100644 --- a/apps/chargingStatus/widget.js +++ b/apps/chargingStatus/widget.js @@ -10,10 +10,13 @@ area: 'tr', width: 32, draw() { - g.reset(); + g.reset(); + g.setColor("#FD0"); // on = amber + //if (Bangle.isCharging()) { - 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); + g.drawImage(atob("GBiBAAAAAAAAAAAAAA//8B//+BgYGBgYGBgYGBgYGBgYGBgYGB//+B//+BgYGBgYGBgYGBgYGBgYGBgYGB//+A//8AAAAAAAAAAAAA=="), this.x, 2+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); //} }, };