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