Fix notification drawer text contrast

Force the notifications widget to use the Window color set instead of inheriting parent theme roles, preventing unreadable light-on-light content in the action drawer.
This commit is contained in:
Marco Allegretti 2026-05-31 16:33:12 +02:00
parent 7115cb882d
commit 37fa852960

View file

@ -71,6 +71,8 @@ Item {
MobileShell.NotificationsWidget {
id: notificationWidget
readonly property bool isConvergence: ShellSettings.Settings.convergenceModeEnabled
Kirigami.Theme.inherit: false
Kirigami.Theme.colorSet: Kirigami.Theme.Window
anchors.fill: parent
anchors.topMargin: root.topMargin + (isConvergence ? Kirigami.Units.gridUnit : 0)
anchors.rightMargin: actionDrawer.mode == MobileShell.ActionDrawer.Portrait ? 0 : (isConvergence ? Kirigami.Units.gridUnit : Math.max(root.width - Kirigami.Units.gridUnit * 25, 0))