fix(@desktop/chat): channel suggestions are not being displayed
This commit is contained in:
parent
94f6041ec5
commit
20bf19983f
|
@ -79,8 +79,8 @@ Item {
|
||||||
Loader {
|
Loader {
|
||||||
id: rectangleBubbleLoader
|
id: rectangleBubbleLoader
|
||||||
active: !!invitedCommunity
|
active: !!invitedCommunity
|
||||||
width: item.width
|
width: item ? item.width : 0
|
||||||
height: item.height
|
height: item ? item.height : 0
|
||||||
|
|
||||||
sourceComponent: Component {
|
sourceComponent: Component {
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
|
|
@ -196,10 +196,9 @@ Item {
|
||||||
height: (contentHeight < (parent.height - contactRequests.height - Style.current.padding)) ? contentHeight : (parent.height - contactRequests.height - Style.current.padding)
|
height: (contentHeight < (parent.height - contactRequests.height - Style.current.padding)) ? contentHeight : (parent.height - contactRequests.height - Style.current.padding)
|
||||||
anchors.top: contactRequests.bottom
|
anchors.top: contactRequests.bottom
|
||||||
anchors.topMargin: Style.current.padding
|
anchors.topMargin: Style.current.padding
|
||||||
contentHeight: channelList.height + 2 * Style.current.padding + emptyViewAndSuggestions.height + emptyViewAndSuggestions.anchors.topMargin
|
contentHeight: channelList.childrenRect.height
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
|
||||||
|
|
||||||
leftPadding: Style.current.halfPadding
|
leftPadding: Style.current.halfPadding
|
||||||
rightPadding: Style.current.halfPadding
|
rightPadding: Style.current.halfPadding
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue