Commit 9c910424 authored by Simon Redman's avatar Simon Redman

Add loading indicator while loading conversations

parent f65737da
Pipeline #6993 passed with stage
in 13 minutes and 42 seconds
......@@ -33,7 +33,7 @@ Kirigami.ScrollablePage
id: page
ToolTip {
id: noDevicesWarning
visible: !devicesCombo.enabled
visible: !page.deviceConnected
timeout: -1
text: "⚠️ " + i18n("No devices available") + " ⚠️"
......@@ -72,6 +72,17 @@ Kirigami.ScrollablePage
Kirigami.AboutPage {}
}
ColumnLayout {
id: loadingMessage
visible: deviceConnected && view.count == 0
anchors.centerIn: parent
BusyIndicator {
running: loadingMessage.visible
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
}
}
property string initialMessage
property string initialDevice
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment