1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-09 23:15:38 -05:00

fix light/dark toggle and settings not re-opening after escape

This commit is contained in:
bbedward
2025-08-05 17:32:53 -04:00
parent c88dc67dbc
commit 081f8533c4
5 changed files with 43 additions and 36 deletions

View File

@@ -30,12 +30,6 @@ Singleton {
}
function setLightMode(isLightMode) {
if (typeof Theme !== "undefined") {
Theme.isLightMode = isLightMode
}
if (typeof Prefs !== "undefined") {
Prefs.setLightMode(isLightMode)
}
if (settingsPortalAvailable) {
setSystemColorScheme(isLightMode)
}