mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
fix light/dark toggle and settings not re-opening after escape
This commit is contained in:
@@ -76,6 +76,8 @@ ScrollView {
|
||||
description: "Use light theme instead of dark theme"
|
||||
checked: Prefs.isLightMode
|
||||
onToggled: (checked) => {
|
||||
Prefs.setLightMode(checked);
|
||||
Theme.isLightMode = checked;
|
||||
PortalService.setLightMode(checked);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -186,7 +186,7 @@ ScrollView {
|
||||
}
|
||||
|
||||
StyledText {
|
||||
text: "xdg-desktop-portal-gtk missing"
|
||||
text: "accountsservice missing or not accessible"
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
color: Theme.error
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
Reference in New Issue
Block a user