Skip to content

Commit

Permalink
Move send all settings after the listener is started
Browse files Browse the repository at this point in the history
  • Loading branch information
BlythMeister committed Sep 23, 2024
1 parent d84b126 commit 7e17e67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/366x366/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ if (settings.hasSettings()) {
}, 120000);
}

msgq.send("send-all-settings", {}, true);
msgq.send("app-launch", {}, false);

msgq.addEventListener("message", (messageKey, message) => {
var key = messageKey.split(":")[0];
if (key === "weather") {
Expand Down Expand Up @@ -69,3 +66,6 @@ if (appbit.applicationId == "6d80c169-94c5-4105-b9dc-98df99b798cd") {
} else {
prereleaseEl.style.display = "none";
}

msgq.send("send-all-settings", {}, true);
msgq.send("app-launch", {}, false);

0 comments on commit 7e17e67

Please sign in to comment.