From 74091b6659f3fd3df84e64cab3f82e25dda7d3d5 Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.comā©> Date: Fri, 31 Mar 2023 22:16:17 +0200 Subject: [PATCH] quicklaunch:compat w app history of Fastload Utils Compatibility with 'Fastload Utils' App History feature by checking the trace on launch remove some spaces correct logic for checking the trace at launch `!=` -> `==` --- apps/quicklaunch/ChangeLog | 1 + apps/quicklaunch/app.js | 2 +- apps/quicklaunch/metadata.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/quicklaunch/ChangeLog b/apps/quicklaunch/ChangeLog index 5d70e010bd..383e6ee2c7 100644 --- a/apps/quicklaunch/ChangeLog +++ b/apps/quicklaunch/ChangeLog @@ -15,3 +15,4 @@ new key names. 0.13: Touch and hold to pause the timeout to clock temporarily. 0.14: Extension: Don't go down a path if nothing waits at the end. Revisit the current intersection instead. +0.15: Extension: Compatibility with "Fastload Utils" app history feature. diff --git a/apps/quicklaunch/app.js b/apps/quicklaunch/app.js index 2fc4910abc..8a56d6c443 100644 --- a/apps/quicklaunch/app.js +++ b/apps/quicklaunch/app.js @@ -24,7 +24,7 @@ } }; - let trace = settings.trace; + let trace = (settings[settings.trace+"app"].src=="quicklaunch.app.js") ? settings.trace : settings.trace.substring(0, settings.trace.length-1); // If the stored trace leads beyond extension screens, walk back to the last extension screen. Compatibility with "Fastload Utils" App History feature. let touchHandler = (_,e) => { if (e.type == 2) return; diff --git a/apps/quicklaunch/metadata.json b/apps/quicklaunch/metadata.json index c2e3029f7e..5fd06ba95d 100644 --- a/apps/quicklaunch/metadata.json +++ b/apps/quicklaunch/metadata.json @@ -2,7 +2,7 @@ "id": "quicklaunch", "name": "Quick Launch", "icon": "app.png", - "version": "0.14", + "version": "0.15", "description": "Tap or swipe left/right/up/down on your clock face to launch up to five apps of your choice. Configurations can be accessed through Settings->Apps.", "type": "bootloader", "tags": "tools, system",