Click on user icon to open user detail dialog.

This commit is contained in:
Black Hat
2019-04-26 20:18:08 +08:00
parent 5ae1d41e92
commit 2a86fbd8b6
4 changed files with 49 additions and 4 deletions

View File

@@ -50,6 +50,20 @@ ColumnLayout {
visible: avatarVisible
hint: author.displayName
source: author.avatarMediaId
Component {
id: userDetailDialog
UserDetailDialog {}
}
RippleEffect {
anchors.fill: parent
circular: true
onClicked: userDetailDialog.createObject(ApplicationWindow.overlay, {"room": currentRoom, "user": author}).open()
}
}
Label {