change visibility conditions for info and error messages

This commit is contained in:
notiant
2026-01-24 03:03:32 +01:00
committed by GitHub
parent 544bd60ea7
commit 10175040f3
+2 -2
View File
@@ -131,7 +131,7 @@ Loader {
anchors.bottomMargin: (Settings.data.general.compactLockScreen ? 280 : 360) * Style.uiScaleRatio
radius: Style.radiusL
color: Color.mTertiary
visible: lockContext.showInfo && lockContext.infoMessage && panelComponent.timerActive
visible: lockContext.showInfo && lockContext.infoMessage && !panelComponent.timerActive
opacity: visible ? 1.0 : 0.0
RowLayout {
@@ -170,7 +170,7 @@ Loader {
anchors.bottomMargin: (Settings.data.general.compactLockScreen ? 280 : 360) * Style.uiScaleRatio
radius: Style.radiusL
color: Color.mError
visible: lockContext.showFailure && lockContext.errorMessage && panelComponent.timerActive
visible: lockContext.showFailure && lockContext.errorMessage && !panelComponent.timerActive
opacity: visible ? 1.0 : 0.0
RowLayout {