update version for another test
parent
c892b155f8
commit
107f862723
|
|
@ -4680,7 +4680,7 @@
|
||||||
"name": "Charging Status",
|
"name": "Charging Status",
|
||||||
"shortName":"Charging",
|
"shortName":"Charging",
|
||||||
"icon": "widget.png",
|
"icon": "widget.png",
|
||||||
"version":"0.1.1",
|
"version":"0.1.2",
|
||||||
"type": "widget",
|
"type": "widget",
|
||||||
"description": "A simple widget that shows up whenever the watch starts charging.",
|
"description": "A simple widget that shows up whenever the watch starts charging.",
|
||||||
"tags": "widget,battery",
|
"tags": "widget,battery",
|
||||||
|
|
|
||||||
|
|
@ -6,13 +6,13 @@
|
||||||
Bangle.drawWidgets(); // re-layout widgets
|
Bangle.drawWidgets(); // re-layout widgets
|
||||||
g.flip();
|
g.flip();
|
||||||
});
|
});
|
||||||
WIDGETS.chargingStatus = {
|
WIDGETS["chargingStatus"] = {
|
||||||
area: 'tr',
|
area: 'tr',
|
||||||
width: 16,
|
width: 32,
|
||||||
draw() {
|
draw() {
|
||||||
g.reset();
|
g.reset();
|
||||||
//if (Bangle.isCharging()) {
|
//if (Bangle.isCharging()) {
|
||||||
g.drawString("X", this.x, this.y);
|
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.setColor('#0f0').drawImage(atob("EBCBAf9//3/+f/x//P/4//gH8A/wD+Af/x//P/4//n/+//7/"), this.x, this.y);
|
||||||
//}
|
//}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue