Skip to content

Commit b1477a0

Browse files
author
thyttan
committed
quicklaunch: load foreground app before quicklaunch
1 parent 87ca155 commit b1477a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/quicklaunch/boot.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
setTimeout(() => { // wrap in zero ms timeout so the foreground app loads first.
23
const storage = require("Storage");
34
let settings = storage.readJSON("quicklaunch.json", true) || {};
45

@@ -40,4 +41,5 @@
4041
if (ud == 1) trace = leaveTrace("d"); // d=down.
4142
launchApp(trace);
4243
});
44+
}, 0);
4345
}

0 commit comments

Comments
 (0)