commit
8c7e02610d
|
|
@ -4980,7 +4980,7 @@
|
||||||
"name": "simple image viewer",
|
"name": "simple image viewer",
|
||||||
"shortName":"showImage",
|
"shortName":"showImage",
|
||||||
"version":"0.2",
|
"version":"0.2",
|
||||||
"description": "Displays the image in \"showimage.user.img\". The file has to be uploaded via the espruino IDE. Returns to watch face after 60s or button push. I use it to display my vaccination certificate.",
|
"description": "Displays the image in \"showimg.user.img\". The file has to be uploaded via the espruino IDE. Returns to watch face after 60s or button push. I use it to display my vaccination certificate.",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"tags": "tool",
|
"tags": "tool",
|
||||||
"supports" : ["BANGLEJS2"],
|
"supports" : ["BANGLEJS2"],
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
Displays an image. I use this app to show my vaccination certificate.
|
Displays an image. I use this app to show my vaccination certificate.
|
||||||
The image is read from the file "showimage.user.img".
|
The image is read from the file "showimg.user.img".
|
||||||
Returns to watch face after 60s/button push.
|
Returns to watch face after 60s/button push.
|
||||||
|
|
|
||||||
|
|
@ -293,9 +293,9 @@ Bangle.on('swipe', dir => {
|
||||||
else next();
|
else next();
|
||||||
});
|
});
|
||||||
|
|
||||||
// close launcher when lcd is off
|
// close launcher when screen is locked
|
||||||
Bangle.on('lcdPower', on => {
|
Bangle.on('lock', on => {
|
||||||
if(!on) return load();
|
if(on) return load();
|
||||||
});
|
});
|
||||||
|
|
||||||
if (process.env.HWVERSION == 1) {
|
if (process.env.HWVERSION == 1) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue