style(lockscreen): remove letters typed counter text indicator

This commit is contained in:
Sho 2026-08-02 16:19:06 +09:00
parent 48a2ad22cf
commit 0a615c3fac

View File

@ -362,29 +362,10 @@ Item {
} }
} }
// Dynamic Typing Status / Letter Counter & Feedback Message // Dynamic Typing Status & Feedback Message
RowLayout { RowLayout {
Layout.fillWidth: true Layout.fillWidth: true
visible: LockscreenService.authFailed
// Typing Letter Counter Badge (Shows EXACT count of letters typed)
Rectangle {
implicitWidth: counterText.implicitWidth + 16
implicitHeight: 24
radius: 12
color: LockscreenService.typedCount > 0 ? Qt.rgba(Theme.accent.r, Theme.accent.g, Theme.accent.b, 0.2) : "transparent"
visible: LockscreenService.typedCount > 0
Behavior on color { ColorAnimation { duration: 150 } }
Text {
id: counterText
anchors.centerIn: parent
text: ` ${LockscreenService.typedCount} ${LockscreenService.typedCount === 1 ? 'letter' : 'letters'} typed`
color: Theme.accent
font.pixelSize: 11
font.weight: Font.Bold
}
}
Item { Layout.fillWidth: true } Item { Layout.fillWidth: true }
@ -394,7 +375,6 @@ Item {
color: Theme.red color: Theme.red
font.pixelSize: 12 font.pixelSize: 12
font.weight: Font.Bold font.weight: Font.Bold
visible: LockscreenService.authFailed
} }
} }
} }