slack status without the slack status.zzstoatzz.io/
quickslice

fix: properly handle savedAccent scope with settings hierarchy

- Return loaded values from initSettings to use after API/localStorage load
- Use the actual loaded accent (respecting API -> localStorage hierarchy)
- Matches the pattern used in feed.html for settings management

+6 -4
+6 -4
templates/status.html
··· 1344 if (accentInput) { 1345 accentInput.value = savedAccent; 1346 } 1347 }; 1348 1349 // Settings toggle ··· 1437 }); 1438 1439 // Initialize settings first, then set active preset 1440 - await initSettings(); 1441 1442 - // Set initial active preset after settings are loaded 1443 - const currentAccent = localStorage.getItem('accentColor') || '#1DA1F2'; 1444 - updateActivePreset(currentAccent); 1445 1446 // Load emoji data 1447 if (window.emojiDataLoader) {
··· 1344 if (accentInput) { 1345 accentInput.value = savedAccent; 1346 } 1347 + 1348 + // Return the loaded values for use elsewhere 1349 + return { savedFont, savedAccent }; 1350 }; 1351 1352 // Settings toggle ··· 1440 }); 1441 1442 // Initialize settings first, then set active preset 1443 + const { savedFont, savedAccent } = await initSettings(); 1444 1445 + // Set initial active preset after settings are loaded with the actual loaded accent 1446 + updateActivePreset(savedAccent); 1447 1448 // Load emoji data 1449 if (window.emojiDataLoader) {