Skip to content

Commit 75862db

Browse files
author
thyttan
committed
qcenter: fix semi-unsafe use of fastload
we are not sure if the app we load into uses widgets or not. That can be mitigated by use of `launch_utils` if we want. To enable fastloading again.
1 parent 5131cd2 commit 75862db

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

apps/qcenter/ChangeLog

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
44
0.04: Fix timeouts closing fast loaded apps
55
0.05: Minor code improvements
66
0.06: Enable fast load with Bangle.load
7+
0.07: Disable fast load for now since we are not sure if the app we load into
8+
uses widgets or not (can be mitigated by use of `launch_utils`).

apps/qcenter/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ let appButtons = groupBy3(pinnedApps).map((appGroup, i) => {
7272
pad: 5,
7373
src: require("Storage").read(app.icon),
7474
scale: 0.75,
75-
cb: l => setTimeout(() => Bangle.load(app.src), 0),
75+
cb: l => setTimeout(() => load(app.src), 0),
7676
};
7777
});
7878
});

apps/qcenter/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "qcenter",
33
"name": "Quick Center",
44
"shortName": "QCenter",
5-
"version": "0.06",
5+
"version": "0.07",
66
"description": "An app for quickly launching your favourite apps, inspired by the control centres of other watches.",
77
"icon": "app.png",
88
"tags": "",

0 commit comments

Comments
 (0)