Improve the 'jump to last read message' button
When loading a room, automatically load messages until the last read message is loaded #35 Don't show the button if the message is not loaded
This commit is contained in:
@@ -329,7 +329,7 @@ Kirigami.ScrollablePage {
|
||||
|
||||
id: goReadMarkerFab
|
||||
|
||||
visible: currentRoom && currentRoom.hasUnreadMessages || !messageListView.atYEnd
|
||||
visible: currentRoom && currentRoom.hasUnreadMessages && currentRoom.readMarkerLoaded || !messageListView.atYEnd
|
||||
action: Kirigami.Action {
|
||||
onTriggered: {
|
||||
if (currentRoom && currentRoom.hasUnreadMessages) {
|
||||
|
||||
Reference in New Issue
Block a user