From 4814120de63d81c1e7840e71dac70d29d56a565e Mon Sep 17 00:00:00 2001 From: Sebastian Di Luzio Date: Sat, 4 Dec 2021 20:56:59 +0100 Subject: [PATCH] draw string --- apps.json | 2 +- apps/widChargingStatus/widget.js | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps.json b/apps.json index 9bb299bec..b29b2717a 100644 --- a/apps.json +++ b/apps.json @@ -4680,7 +4680,7 @@ "name": "Charging Status", "shortName":"ChargingStatus", "icon": "widget.png", - "version":"0.1.9", + "version":"0.1.10", "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 9fd9bdc01..723a10374 100644 --- a/apps/widChargingStatus/widget.js +++ b/apps/widChargingStatus/widget.js @@ -18,9 +18,10 @@ function draw() { g.reset(); g.setColor("#FD0"); + g.setFontVector(16); //if (Bangle.isCharging()) { - g.drawImage(chargingSymbol, this.x /* + 2 */ , this.y); - //g.drawString('X',this.x,this.y) + // g.drawImage(chargingIcon, this.x /* + 2 */ , this.y); + g.drawString('X',this.x,this.y) //} }