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