From 0b520dc28ba16890a14997958c61d72bc81047f6 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 22 Jul 2025 16:12:21 +1000 Subject: lock: show status on small screens Hide notifs but show status --- modules/lock/LockSurface.qml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'modules/lock/LockSurface.qml') diff --git a/modules/lock/LockSurface.qml b/modules/lock/LockSurface.qml index 5ddd7ae..ed6895b 100644 --- a/modules/lock/LockSurface.qml +++ b/modules/lock/LockSurface.qml @@ -69,8 +69,8 @@ WlSessionLockSurface { weatherWidth: weather.implicitWidth buttonsWidth: buttons.item?.nonAnimWidth ?? 0 buttonsHeight: buttons.item?.nonAnimHeight ?? 0 - statusWidth: status.item?.nonAnimWidth ?? 0 - statusHeight: status.item?.nonAnimHeight ?? 0 + statusWidth: status.nonAnimWidth ?? 0 + statusHeight: status.nonAnimHeight ?? 0 isNormal: root.screen.width > Config.lock.sizes.smallScreenWidth isLarge: root.screen.width > Config.lock.sizes.largeScreenWidth @@ -162,17 +162,15 @@ WlSessionLockSurface { sourceComponent: Buttons {} } - Loader { + Status { id: status - active: root.screen.width > Config.lock.sizes.largeScreenWidth - anchors.bottom: parent.top anchors.left: parent.right anchors.bottomMargin: -backgrounds.statusBottom anchors.leftMargin: -backgrounds.statusLeft - sourceComponent: Status {} + showNotifs: root.screen.width > Config.lock.sizes.largeScreenWidth } component Anim: NumberAnimation { -- cgit v1.2.3-freya