|
|
@ -19,7 +19,11 @@ Rectangle { |
|
|
|
color: colors.window |
|
|
|
color: colors.window |
|
|
|
|
|
|
|
|
|
|
|
TapHandler { |
|
|
|
TapHandler { |
|
|
|
onSingleTapped: TimelineManager.timeline.openRoomSettings() |
|
|
|
onSingleTapped: { |
|
|
|
|
|
|
|
TimelineManager.timeline.openRoomSettings(); |
|
|
|
|
|
|
|
eventPoint.accepted = true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
gesturePolicy: TapHandler.ReleaseWithinBounds |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
GridLayout { |
|
|
|
GridLayout { |
|
|
@ -57,7 +61,7 @@ Rectangle { |
|
|
|
height: avatarSize |
|
|
|
height: avatarSize |
|
|
|
url: room ? room.roomAvatarUrl.replace("mxc://", "image://MxcImage/") : "" |
|
|
|
url: room ? room.roomAvatarUrl.replace("mxc://", "image://MxcImage/") : "" |
|
|
|
displayName: room ? room.roomName : qsTr("No room selected") |
|
|
|
displayName: room ? room.roomName : qsTr("No room selected") |
|
|
|
onClicked: TimelineManager.openRoomSettings() |
|
|
|
onClicked: TimelineManager.timeline.openRoomSettings() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Label { |
|
|
|
Label { |
|
|
@ -69,7 +73,6 @@ Rectangle { |
|
|
|
text: room ? room.roomName : qsTr("No room selected") |
|
|
|
text: room ? room.roomName : qsTr("No room selected") |
|
|
|
maximumLineCount: 1 |
|
|
|
maximumLineCount: 1 |
|
|
|
elide: Text.ElideRight |
|
|
|
elide: Text.ElideRight |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
MatrixText { |
|
|
|
MatrixText { |
|
|
|