Fix the javascript when using .?

This commit is contained in:
James Graham
2024-07-20 20:26:53 +01:00
parent 6323e27040
commit 799ffa18c4
2 changed files with 2 additions and 2 deletions

View File

@@ -191,7 +191,7 @@ QQC2.ScrollView {
implicitHeight: Kirigami.Units.gridUnit * 2
z: 2
visible: root.currentRoom?.hasUnreadMessages || false
visible: (root.currentRoom?.hasUnreadMessages ?? false)
text: root.currentRoom.readMarkerLoaded ? i18n("Jump to first unread message") : i18n("Jump to oldest loaded message")
action: Kirigami.Action {