mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-13 00:42:49 -05:00
theme: don't need portal for light/dark
This commit is contained in:
@@ -99,9 +99,7 @@ Singleton {
|
|||||||
if (typeof SettingsData !== "undefined" && SettingsData.syncModeWithPortal === false) {
|
if (typeof SettingsData !== "undefined" && SettingsData.syncModeWithPortal === false) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (settingsPortalAvailable) {
|
setSystemColorScheme(isLightMode)
|
||||||
setSystemColorScheme(isLightMode)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function setSystemColorScheme(isLightMode) {
|
function setSystemColorScheme(isLightMode) {
|
||||||
|
|||||||
Reference in New Issue
Block a user