1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-02 03:28:28 -04:00

theme: prevent failed portal writes from reverting theme mode

related: #2786

port 1.5
This commit is contained in:
bbedward
2026-07-10 15:44:36 -04:00
parent c445597f83
commit d82d86df5c
3 changed files with 39 additions and 29 deletions
+1 -3
View File
@@ -1336,9 +1336,7 @@ Singleton {
}
if (!isGreeterMode) {
if (!matugenAvailable) {
PortalService.setLightMode(light);
}
PortalService.setLightMode(light);
if (typeof SettingsData !== "undefined") {
SettingsData.updateCosmicThemeMode(light);
}