1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-08 12:13:31 -04:00

fix(fonts): auto-rebuild font cache when configured fonts are missing

- Add Fonts category to dms doctor for manual diagnostics
- Fix a default font setting warning
This commit is contained in:
purian23
2026-06-06 19:24:52 -04:00
parent d356957dad
commit 8155970ba2
5 changed files with 257 additions and 9 deletions
@@ -594,6 +594,7 @@ function getValidKeys() {
function set(root, key, value, saveFn, hooks) {
if (!(key in SPEC)) return;
if (value === undefined || value === null) value = SPEC[key].def;
root[key] = value;
var hookName = SPEC[key].onChange;
if (hookName && hooks && hooks[hookName]) {