widmsggrid: Don't turn on LCD

There's really no need for the widget to turn on the screen.
pull/2705/head
Richard de Boer 2023-04-23 16:05:53 +02:00
parent edc6cbbdb1
commit 11aeaacb8f
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,5 @@
0.01: New widget!
0.02: Adjust to message icons moving to messageicons lib
0.03: Use new message library
0.04: Remove library stub
0.04: Remove library stub
0.05: Don't turn on LCD

View File

@ -1,7 +1,7 @@
{
"id": "widmsggrid",
"name": "Messages Grid Widget",
"version": "0.04",
"version": "0.05",
"description": "Widget that displays notification icons in a grid",
"icon": "widget.png",
"type": "widget",

View File

@ -70,7 +70,6 @@
w.total = w.srcs.length;
w.srcs = w.srcs.filter((src, i, uniq) => uniq.indexOf(src) === i); // keep unique entries only
Bangle.drawWidgets();
Bangle.setLCDPower(1); // turns screen on
}, hide: function () {
w.hidden = true;
w.width = 0;