mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
settings: fix theme application of default-settings json
This commit is contained in:
@@ -1724,6 +1724,8 @@ Singleton {
|
|||||||
const txt = settingsFile.text();
|
const txt = settingsFile.text();
|
||||||
const obj = (txt && txt.trim()) ? JSON.parse(txt) : null;
|
const obj = (txt && txt.trim()) ? JSON.parse(txt) : null;
|
||||||
Store.parse(root, obj);
|
Store.parse(root, obj);
|
||||||
|
applyStoredTheme();
|
||||||
|
applyStoredIconTheme();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.warn("SettingsData: Failed to reload settings:", e.message);
|
console.warn("SettingsData: Failed to reload settings:", e.message);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user