23 lines
492 B
QML
23 lines
492 B
QML
|
import QtQuick 2.13
|
||
|
import StatusQ.Core 0.1
|
||
|
import shared 1.0
|
||
|
|
||
|
Loader {
|
||
|
property var chatSectionModule
|
||
|
|
||
|
active: !chatSectionModule.chatsLoaded
|
||
|
height: active && item ? item.height : 0
|
||
|
|
||
|
sourceComponent: Item {
|
||
|
width: parent.width
|
||
|
|
||
|
Row {
|
||
|
anchors.horizontalCenter: parent.horizontalCenter
|
||
|
spacing: 6
|
||
|
StatusBaseText {
|
||
|
text: qsTr("Loading chats...")
|
||
|
}
|
||
|
LoadingAnimation {}
|
||
|
}
|
||
|
}
|
||
|
}
|