HLoader component, use Loader.asynchronous prop

This commit is contained in:
miruka
2019-08-11 23:25:22 -04:00
parent fbd7c45fe4
commit 5f72397afe
6 changed files with 15 additions and 9 deletions

View File

@@ -18,7 +18,7 @@ HPage {
readonly property bool hasUnknownDevices: false
header: Loader {
header: HLoader {
id: roomHeader
source: ready ? "RoomHeader.qml" : ""
@@ -31,7 +31,7 @@ HPage {
page.leftPadding: 0
page.rightPadding: 0
Loader {
HLoader {
source: ready ? "ChatSplitView.qml" : "../Base/HBusyIndicator.qml"
Layout.fillWidth: ready