From 70bb045be059d63ea5ed99e28150973d88c57e45 Mon Sep 17 00:00:00 2001 From: Sebastian Di Luzio Date: Sat, 4 Dec 2021 22:00:07 +0100 Subject: [PATCH] use image with 1bit and without specified color --- apps.json | 2 +- apps/widChargingStatus/widget.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps.json b/apps.json index 413f7edef..02c1044fc 100644 --- a/apps.json +++ b/apps.json @@ -4680,7 +4680,7 @@ "name": "Charging Status", "shortName":"ChargingStatus", "icon": "widget.png", - "version":"0.1.13", + "version":"0.1.14", "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 0fc1e48d9..b0e503b3a 100644 --- a/apps/widChargingStatus/widget.js +++ b/apps/widChargingStatus/widget.js @@ -9,9 +9,9 @@ function draw() { g.reset(); - g.setColor("#FD0"); + //g.setColor("#FD0"); //if (Bangle.isCharging()) { - g.drawImage(atob("kEgxH+ACEACSIeMD/p1CDzwffH3wfbDwYf6DwgfZDwofgABAeeD74etH3yc+FCAfeDzAflDzIfEDzQfjDzYffH3wfCDzgfBCKAA="), this.x, this.y); + g.drawImage(atob("kEgwMB///34CB/8/AYv+AYX8AYd/AYP4AY3wAY3gAYXAAYcAEAOAAYgMBIQIPBAYX+gBGB/gDEgZDCAYcHAY0PAYUfAYxfHIYQDEOQX9AQI="), this.x, this.y); //g.drawString('X',this.x,this.y) //} }