fix: disabled-state UI, settings shallow-merge, and popup save reliability

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-26 15:05:48 -04:00
parent 46d008d339
commit 8be62e1fec
4 changed files with 12 additions and 5 deletions

View File

@@ -21,7 +21,9 @@
async function loadSettings() {
const stored = await browser.storage.local.get(null);
return Object.assign({}, DEFAULTS, stored);
const merged = Object.assign({}, DEFAULTS, stored);
merged.subredditColors = Object.assign({}, merged.subredditColors);
return merged;
}
async function saveSettings(settings) {