stop assigning undefined to bool in TimelineView and MessageDelegate
This commit is contained in:
@@ -190,7 +190,7 @@ QQC2.ScrollView {
|
||||
implicitHeight: Kirigami.Units.gridUnit * 2
|
||||
|
||||
z: 2
|
||||
visible: root.currentRoom && root.currentRoom.hasUnreadMessages
|
||||
visible: root.currentRoom?.hasUnreadMessages || false
|
||||
|
||||
text: root.currentRoom.readMarkerLoaded ? i18n("Jump to first unread message") : i18n("Jump to oldest loaded message")
|
||||
action: Kirigami.Action {
|
||||
|
||||
Reference in New Issue
Block a user