fix: disabled-state UI, settings shallow-merge, and popup save reliability
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user