From 48759f3abcf6cef15a8b0551678866ac372a01f4 Mon Sep 17 00:00:00 2001 From: Rob Pilling Date: Wed, 14 Aug 2024 17:57:45 +0100 Subject: [PATCH] Ensure device info is handled despite setTime() "await"s --- js/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/index.js b/js/index.js index bedebe4..af0c08c 100644 --- a/js/index.js +++ b/js/index.js @@ -1012,6 +1012,8 @@ function getInstalledApps(refresh) { console.log("SETTINGS.settime=true and >2 seconds out - updating time"); return Comms.setTime(); } + }) + .then(() => { // Show device info in more page: const deviceInfoElem = document.getElementById("more-deviceinfo"); if (deviceInfoElem) {