1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-31 08:52:49 -05:00

theme: don't need portal for light/dark

This commit is contained in:
bbedward
2025-10-16 23:38:13 -04:00
parent ce9ab22ae1
commit 5e2756d200

View File

@@ -99,10 +99,8 @@ 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) {
if (typeof SettingsData !== "undefined" && SettingsData.syncModeWithPortal === false) { if (typeof SettingsData !== "undefined" && SettingsData.syncModeWithPortal === false) {