1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-05 04:58:30 -04:00

theme: prevent failed portal writes from reverting theme mode

related: #2786

port 1.5

(cherry picked from commit d82d86df5c)
This commit is contained in:
bbedward
2026-07-10 15:44:36 -04:00
committed by dms-ci[bot]
parent fce1a09790
commit fe0214d522
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);
}