mirror of https://github.com/espruino/BangleApps
parent
d1e7a7a220
commit
7b6386ce5d
|
@ -275,7 +275,7 @@ function onDrag(e) {
|
||||||
|
|
||||||
function onSwipe(e) {
|
function onSwipe(e) {
|
||||||
if (e == 1) {
|
if (e == 1) {
|
||||||
Bangle.showLauncher();
|
exitApp();
|
||||||
}
|
}
|
||||||
if (e == -1 && state.curtoken != -1 && tokens[state.curtoken].period <= 0) {
|
if (e == -1 && state.curtoken != -1 && tokens[state.curtoken].period <= 0) {
|
||||||
tokens[state.curtoken].period--;
|
tokens[state.curtoken].period--;
|
||||||
|
|
Loading…
Reference in New Issue