1
0
Fork 0

Update app.js

Use exitApp()
master
Andrew Gregory 2021-12-31 15:56:39 +08:00 committed by GitHub
parent d1e7a7a220
commit 7b6386ce5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ function onDrag(e) {
function onSwipe(e) {
if (e == 1) {
Bangle.showLauncher();
exitApp();
}
if (e == -1 && state.curtoken != -1 && tokens[state.curtoken].period <= 0) {
tokens[state.curtoken].period--;