mirror of https://github.com/espruino/BangleApps
widmsggrid: Don't turn on LCD
There's really no need for the widget to turn on the screen.pull/2705/head
parent
edc6cbbdb1
commit
11aeaacb8f
|
@ -1,4 +1,5 @@
|
||||||
0.01: New widget!
|
0.01: New widget!
|
||||||
0.02: Adjust to message icons moving to messageicons lib
|
0.02: Adjust to message icons moving to messageicons lib
|
||||||
0.03: Use new message library
|
0.03: Use new message library
|
||||||
0.04: Remove library stub
|
0.04: Remove library stub
|
||||||
|
0.05: Don't turn on LCD
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "widmsggrid",
|
"id": "widmsggrid",
|
||||||
"name": "Messages Grid Widget",
|
"name": "Messages Grid Widget",
|
||||||
"version": "0.04",
|
"version": "0.05",
|
||||||
"description": "Widget that displays notification icons in a grid",
|
"description": "Widget that displays notification icons in a grid",
|
||||||
"icon": "widget.png",
|
"icon": "widget.png",
|
||||||
"type": "widget",
|
"type": "widget",
|
||||||
|
|
|
@ -70,7 +70,6 @@
|
||||||
w.total = w.srcs.length;
|
w.total = w.srcs.length;
|
||||||
w.srcs = w.srcs.filter((src, i, uniq) => uniq.indexOf(src) === i); // keep unique entries only
|
w.srcs = w.srcs.filter((src, i, uniq) => uniq.indexOf(src) === i); // keep unique entries only
|
||||||
Bangle.drawWidgets();
|
Bangle.drawWidgets();
|
||||||
Bangle.setLCDPower(1); // turns screen on
|
|
||||||
}, hide: function () {
|
}, hide: function () {
|
||||||
w.hidden = true;
|
w.hidden = true;
|
||||||
w.width = 0;
|
w.width = 0;
|
||||||
|
|
Loading…
Reference in New Issue