Change to-read-marker bottom a bit.
This commit is contained in:
parent
6862be2eb0
commit
4463d676d5
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue