From b1477a0f8fd63618c3dbc401058fa4baed9a6493 Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.comā©> Date: Mon, 28 Oct 2024 23:14:25 +0100 Subject: [PATCH] quicklaunch: load foreground app before quicklaunch --- apps/quicklaunch/boot.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/quicklaunch/boot.js b/apps/quicklaunch/boot.js index 960c136dc..5277417ce 100644 --- a/apps/quicklaunch/boot.js +++ b/apps/quicklaunch/boot.js @@ -1,4 +1,5 @@ { +setTimeout(() => { // wrap in zero ms timeout so the foreground app loads first. const storage = require("Storage"); let settings = storage.readJSON("quicklaunch.json", true) || {}; @@ -40,4 +41,5 @@ if (ud == 1) trace = leaveTrace("d"); // d=down. launchApp(trace); }); +}, 0); }