1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 21:45: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

@@ -344,7 +344,7 @@ PanelWindow {
hoverColor: Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.12)
onClicked: {
controlCenterVisible = false;
settingsModal.settingsVisible = true;
settingsModal.show();
}
}
@@ -743,6 +743,8 @@ PanelWindow {
description: "Use light theme instead of dark theme"
checked: Prefs.isLightMode
onToggled: (checked) => {
Prefs.setLightMode(checked);
Theme.isLightMode = checked;
PortalService.setLightMode(checked);
}
}