automatically enable UI_MODE_NIGHT when gtk-theme-name contains "dark"

gtk-theme-name is only checked once at start up
This commit is contained in:
Julian Winkler
2024-03-10 12:05:33 +01:00
parent f49922cf1b
commit 005e2299bd
8 changed files with 87 additions and 5 deletions

View File

@@ -208,7 +208,7 @@ public class Resources {
mCompatibilityInfo = compatInfo;
}
mToken = new WeakReference<IBinder>(token);
// updateConfiguration(config, metrics);
updateConfiguration(config, metrics);
// assets.ensureStringBlocks();
}