Loaded causes weird artifacts loading rooms

This commit is contained in:
Nicolas Werner 2021-08-29 18:45:49 +02:00
parent 7645ab1736
commit b5b580fda5
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -84,17 +84,12 @@ Item {
target: timelineView target: timelineView
} }
Loader {
active: room || roomPreview
asynchronous: false
Layout.fillWidth: true
sourceComponent: MessageView { MessageView {
implicitHeight: msgView.height - typingIndicator.height implicitHeight: msgView.height - typingIndicator.height
Layout.fillWidth: true
} }
}
Loader { Loader {
source: CallManager.isOnCall && CallManager.callType != CallType.VOICE ? "voip/VideoCall.qml" : "" source: CallManager.isOnCall && CallManager.callType != CallType.VOICE ? "voip/VideoCall.qml" : ""
onLoaded: TimelineManager.setVideoCallItem() onLoaded: TimelineManager.setVideoCallItem()