Change to-read-marker bottom a bit.

This commit is contained in:
Black Hat 2019-03-17 19:49:06 +08:00
parent 6862be2eb0
commit 4463d676d5
1 changed files with 9 additions and 12 deletions

View File

@ -244,24 +244,21 @@ Item {
} }
} }
RoundButton { Button {
width: 64
height: 64
anchors.right: parent.right
anchors.top: parent.top anchors.top: parent.top
anchors.horizontalCenter: parent.horizontalCenter
id: goBottomFab
visible: currentRoom && currentRoom.hasUnreadMessages visible: currentRoom && currentRoom.hasUnreadMessages
contentItem: MaterialIcon { topPadding: 8
anchors.fill: parent bottomPadding: 8
leftPadding: 24
rightPadding: 24
icon: "\ue316" Material.foreground: MPalette.foreground
color: "white" Material.background: MPalette.banner
}
Material.background: Material.accent text: "Go to read marker"
onClicked: goToEvent(currentRoom.readMarkerEventId) onClicked: goToEvent(currentRoom.readMarkerEventId)
} }