status-desktop/ui/app/AppLayouts/Chat/panels/ChatsLoadingPanel.qml

23 lines
492 B
QML
Raw Normal View History

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 {}
}
}
}