revert Bangle.load to load

pull/2279/head
thyttan 2022-11-15 17:56:28 +01:00
parent f969913725
commit f4f50584a0
3 changed files with 5 additions and 3 deletions

View File

@ -16,3 +16,5 @@
Reset timeout on swipe and drag Reset timeout on swipe and drag
0.12: Use Bangle.load and Bangle.showClock 0.12: Use Bangle.load and Bangle.showClock
0.13: Fix automatic switch to clock 0.13: Fix automatic switch to clock
0.14: Revert use of Bangle.load to classic load calls since widgets would
still be loaded when they weren't supposed to.

View File

@ -94,7 +94,7 @@
const appId = id * appsN + iconN; const appId = id * appsN + iconN;
if( settings.direct && launchCache.apps[appId]) if( settings.direct && launchCache.apps[appId])
{ {
Bangle.load(launchCache.apps[appId].src); load(launchCache.apps[appId].src);
return; return;
} }
if (appId == selectedItem && launchCache.apps[appId]) { if (appId == selectedItem && launchCache.apps[appId]) {
@ -102,7 +102,7 @@
if (!app.src || s.read(app.src) === undefined) { if (!app.src || s.read(app.src) === undefined) {
E.showMessage( /*LANG*/ "App Source\nNot found"); E.showMessage( /*LANG*/ "App Source\nNot found");
} else { } else {
Bangle.load(app.src); load(app.src);
} }
} }
selectedItem = appId; selectedItem = appId;

View File

@ -2,7 +2,7 @@
"id": "iconlaunch", "id": "iconlaunch",
"name": "Icon Launcher", "name": "Icon Launcher",
"shortName" : "Icon launcher", "shortName" : "Icon launcher",
"version": "0.13", "version": "0.14",
"icon": "app.png", "icon": "app.png",
"description": "A launcher inspired by smartphones, with an icon-only scrollable menu.", "description": "A launcher inspired by smartphones, with an icon-only scrollable menu.",
"tags": "tool,system,launcher", "tags": "tool,system,launcher",