mirror of https://github.com/espruino/BangleApps
Update app.js
parent
0e2e03b488
commit
cb32ad6121
|
@ -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