Small tweaks.
This commit is contained in:
parent
845b0114bd
commit
d60bd1ed9f
|
@ -21,6 +21,8 @@ AvatarContainer {
|
|||
Image {
|
||||
id: messageImage
|
||||
z: -4
|
||||
sourceSize.width: width
|
||||
sourceSize.height: height
|
||||
source: "image://mxc/" + (content.thumbnail_url ? content.thumbnail_url : content.url)
|
||||
|
||||
MouseArea {
|
||||
|
|
|
@ -86,7 +86,7 @@ Item {
|
|||
displayMarginBeginning: 40
|
||||
displayMarginEnd: 40
|
||||
verticalLayoutDirection: ListView.BottomToTop
|
||||
maximumFlickVelocity: 2048
|
||||
maximumFlickVelocity: 1024
|
||||
spacing: 8
|
||||
|
||||
model: MessageEventModel{
|
||||
|
|
|
@ -210,16 +210,13 @@ Item {
|
|||
id: roomListMenu
|
||||
|
||||
MenuItem {
|
||||
text: "Prioritize"
|
||||
text: "Favourite"
|
||||
onTriggered: roomListMenu.room.isFavourite ? roomListMenu.room.removeTag("m.favourite") : roomListMenu.room.addTag("m.favourite", "1")
|
||||
}
|
||||
MenuItem {
|
||||
text: "Deprioritize"
|
||||
onTriggered: roomListMenu.room.isLowPriority ? roomListMenu.room.removeTag("m.lowpriority") : roomListMenu.room.addTag("m.lowpriority", "1")
|
||||
}
|
||||
MenuItem {
|
||||
text: "Direct Chat"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue