Merge pull request #1108 from xxDUxx/master

Update app.js
master
Gordon Williams 2021-12-17 08:27:56 +00:00 committed by GitHub
commit 8c7e02610d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -4980,7 +4980,7 @@
"name": "simple image viewer",
"shortName":"showImage",
"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",
"tags": "tool",
"supports" : ["BANGLEJS2"],

View File

@ -1,3 +1,3 @@
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.

View File

@ -293,9 +293,9 @@ Bangle.on('swipe', dir => {
else next();
});
// close launcher when lcd is off
Bangle.on('lcdPower', on => {
if(!on) return load();
// close launcher when screen is locked
Bangle.on('lock', on => {
if(on) return load();
});
if (process.env.HWVERSION == 1) {