forked from FOSS/BangleApps
check for existing swipe handlers
parent
d9dfb3adee
commit
de20a40100
|
@ -1 +1,2 @@
|
||||||
0.01: New App!
|
0.01: New App!
|
||||||
|
0.02: Don't fire if the app uses swipes already.
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
|
|
||||||
var currentFile = global.__FILE__ || "";
|
var currentFile = global.__FILE__ || "";
|
||||||
|
|
||||||
if(global.BACK) delete global.BACK;
|
if (global.BACK) delete global.BACK;
|
||||||
if (options && options.back && enabledForApp(currentFile)) {
|
if (options && options.back && enabledForApp(currentFile) && (Bangle["#onswipe"] instanceof Array)&&Bangle["#onswipe"].length>1 ) {
|
||||||
global.BACK = options.back;
|
global.BACK = options.back;
|
||||||
}
|
}
|
||||||
setUI(mode, cb);
|
setUI(mode, cb);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ "id": "backswipe",
|
{ "id": "backswipe",
|
||||||
"name": "Back Swipe",
|
"name": "Back Swipe",
|
||||||
"shortName":"BackSwipe",
|
"shortName":"BackSwipe",
|
||||||
"version":"0.01",
|
"version":"0.02",
|
||||||
"description": "Service that allows you to use an app's back button using left to right swipe gesture",
|
"description": "Service that allows you to use an app's back button using left to right swipe gesture",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"tags": "back,gesture,swipe",
|
"tags": "back,gesture,swipe",
|
||||||
|
|
Loading…
Reference in New Issue