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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user