status-desktop/ui/imports/shared/panels/ChatsLoadingPanel.qml
Noelia 0ab8a62896 feat(Communities): Communities folder reorganization
- Renamed main `CommunitiesPortal` folder to `Communities`.
- Created new `layouts` folder.
- Moved layout files from chat to communities.
- Created new `helpers` folder.
- Moved helpers files from chat to communities.
- Moved `controls/community` files from chat to communities `controls`.
- Moved `panels/communities` files from chat to communities `panels`.
- Moved `popups/community` files from chat to communities `popups`.
- Moved `views/community` files from chat to communities `views`.
- Moved `CommunityBanner` file from shared to `Communities/controls`. Only used in communities context.
- Moved `CommunitySettingsView` and `CommunityColumnView` files from chat to communities `views`.
- Moved `PermissionsStore.qml` file to `shared/stores`.
- Updated imports.
- Updated storybook.

Part of #6204
2023-06-28 14:28:47 +02:00

27 lines
630 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 {
anchors.verticalCenter: parent.verticalCenter
text: qsTr("Loading chats...")
}
LoadingAnimation {
anchors.verticalCenter: parent.verticalCenter
}
}
}
}