From 067291f478b419c09269a891c8865949d18e1acf Mon Sep 17 00:00:00 2001 From: zach Date: Thu, 29 Oct 2026 18:43:50 +0100 Subject: [PATCH] fix: lockscreen notifdock --- Modules/Lock/Content.qml | 20 +++----------------- Modules/Lock/NotifDock.qml | 14 ++++---------- 2 files changed, 7 insertions(+), 27 deletions(-) diff --git a/Modules/Lock/Content.qml b/Modules/Lock/Content.qml index a3fc7a6..a1140c7 100644 --- a/Modules/Lock/Content.qml +++ b/Modules/Lock/Content.qml @@ -53,24 +53,10 @@ Item { lock: root.lock } - SnapLayout { + NotifDock { Layout.fillWidth: true - - spacing: Tokens.spacing.medium - orientation: Qt.Vertical - - CustomRect { - Layout.fillHeight: true - Layout.fillWidth: true - bottomRightRadius: Tokens.rounding.largeIncreased - color: Colors.tPalette.m3surfaceContainer - radius: Tokens.rounding.small - topRightRadius: Tokens.rounding.largeIncreased - - NotifDock { - lock: root.lock - } - } + Layout.fillHeight: true + lock: root.lock } } } diff --git a/Modules/Lock/NotifDock.qml b/Modules/Lock/NotifDock.qml index d913ba7..1757133 100644 --- a/Modules/Lock/NotifDock.qml +++ b/Modules/Lock/NotifDock.qml @@ -51,16 +51,10 @@ CustomRect { duration: Tokens.anim.durations.extraLarge } } - sourceComponent: SnapLayout { - orientation: Qt.Vertical - spacing: Tokens.spacing.largeIncreased - - CustomText { - Layout.alignment: Qt.AlignHCenter - color: Colors.palette.m3outlineVariant - font: Tokens.font.headline.builders.small.width(90).build() - text: qsTr("No Notifications") - } + sourceComponent: CustomText { + color: Colors.palette.m3outlineVariant + font: Tokens.font.headline.builders.small.width(90).build() + text: qsTr("No Notifications") } }