Skip to content

Commit

Permalink
Chunk settings
Browse files Browse the repository at this point in the history
  • Loading branch information
BlythMeister authored Oct 6, 2024
1 parent e4230a8 commit dc50fb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/366x366/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,12 @@ msgq.addEventListener("message", (messageKey, message) => {
weather.processWeatherData(message);
} else if (key === "settingChange") {
settings.settingUpdate(message);
} else if (key === "all-settings") {
} else if (key === "settingsChunk") {
for (let index = 0; index < message.length; index++) {
const element = message[index];
settings.settingUpdate(element);
}
} else if (key === "settingsComplete") {
startingEl.style.display = "none";
settings.saveSettings();
}
Expand Down

0 comments on commit dc50fb9

Please sign in to comment.