Skip to content
Snippets Groups Projects
Commit 05e6dd9d authored by Loren Burkholder's avatar Loren Burkholder
Browse files

Modifications to member list buttons

parent a75ee1a6
Branches
Tags
No related merge requests found
......@@ -209,7 +209,6 @@ Item {
MatrixText {
text: qsTr("%n member(s)", "", room ? room.roomMemberCount : 0)
cursorShape: Qt.PointingHandCursor
}
ImageButton {
......
......@@ -159,18 +159,21 @@ ApplicationWindow {
}
RowLayout {
spacing: Nheko.paddingMedium
Layout.alignment: Qt.AlignHCenter
Label {
text: qsTr("%n member(s)", "", roomSettings.memberCount)
Layout.alignment: Qt.AlignHCenter
color: Nheko.colors.text
TapHandler {
onSingleTapped: TimelineManager.openRoomMembers(Rooms.getRoomById(roomSettings.roomId))
}
CursorShape {
cursorShape: Qt.PointingHandCursor
anchors.fill: parent
ImageButton {
image: ":/icons/icons/ui/people.svg"
hoverEnabled: true
ToolTip.visible: hovered
ToolTip.text: qsTr("View members of %1").arg(roomSettings.roomName)
onClicked: TimelineManager.openRoomMembers(Rooms.getRoomById(roomSettings.roomId))
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment