iconlaunch: Ensure 'oneClickExit' is the default, and remove useless btn:line
parent
ca95ce03dd
commit
79c1362145
|
|
@ -24,4 +24,5 @@
|
||||||
0.17: fix fullscreen with oneClickExit
|
0.17: fix fullscreen with oneClickExit
|
||||||
0.18: Better performance
|
0.18: Better performance
|
||||||
0.19: Remove 'jit' keyword as 'for(..of..)' is not supported (fix #2937)
|
0.19: Remove 'jit' keyword as 'for(..of..)' is not supported (fix #2937)
|
||||||
0.20: Use '28' font if installed (2v26+) and put it inside a rounded rect in the current theme
|
0.20: Use '28' font if installed (2v26+) and put it inside a rounded rect in the current theme
|
||||||
|
Ensure 'oneClickExit' is the default
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
showClocks: true,
|
showClocks: true,
|
||||||
fullscreen: false,
|
fullscreen: false,
|
||||||
direct: false,
|
direct: false,
|
||||||
oneClickExit: false,
|
oneClickExit: true,
|
||||||
swipeExit: false,
|
swipeExit: false,
|
||||||
timeOut:"Off"
|
timeOut:"Off"
|
||||||
}, s.readJSON("iconlaunch.json", true) || {});
|
}, s.readJSON("iconlaunch.json", true) || {});
|
||||||
|
|
@ -137,8 +137,7 @@
|
||||||
require("widget_utils").show();
|
require("widget_utils").show();
|
||||||
}
|
}
|
||||||
if(idWatch) clearWatch(idWatch);
|
if(idWatch) clearWatch(idWatch);
|
||||||
},
|
}
|
||||||
btn:Bangle.showClock
|
|
||||||
};
|
};
|
||||||
|
|
||||||
//work both the fullscreen and the oneClickExit
|
//work both the fullscreen and the oneClickExit
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
showClocks: true,
|
showClocks: true,
|
||||||
fullscreen: false,
|
fullscreen: false,
|
||||||
direct: false,
|
direct: false,
|
||||||
oneClickExit: false,
|
oneClickExit: true,
|
||||||
swipeExit: false,
|
swipeExit: false,
|
||||||
timeOut:"Off"
|
timeOut:"Off"
|
||||||
}, s.readJSON("iconlaunch.json", true) || {});
|
}, s.readJSON("iconlaunch.json", true) || {});
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
"": { "title": /*LANG*/"Launcher", back: back },
|
"": { "title": /*LANG*/"Launcher", back: back },
|
||||||
/*LANG*/"Show Clocks": {
|
/*LANG*/"Show Clocks": {
|
||||||
value: settings.showClocks == true,
|
value: settings.showClocks == true,
|
||||||
onchange: (m) => {
|
onchange: (m) => {
|
||||||
save("showClocks", m);
|
save("showClocks", m);
|
||||||
s.erase("iconlaunch.cache.json"); //delete the cache app list
|
s.erase("iconlaunch.cache.json"); //delete the cache app list
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue