diff --git a/imports/NeoChat/Component/ChatBox/TypingPane.qml b/imports/NeoChat/Component/ChatBox/TypingPane.qml index 4294715a0..9beb705f3 100644 --- a/imports/NeoChat/Component/ChatBox/TypingPane.qml +++ b/imports/NeoChat/Component/ChatBox/TypingPane.qml @@ -38,6 +38,7 @@ Loader { text: typingNotification } BusyIndicator { + running: root.active Layout.alignment: Qt.AlignRight Layout.preferredWidth: Kirigami.Units.iconSizes.smallMedium Layout.preferredHeight: Kirigami.Units.iconSizes.smallMedium diff --git a/imports/NeoChat/Page/RoomPage.qml b/imports/NeoChat/Page/RoomPage.qml index da308e3ab..67f412f74 100644 --- a/imports/NeoChat/Page/RoomPage.qml +++ b/imports/NeoChat/Page/RoomPage.qml @@ -98,8 +98,9 @@ Kirigami.ScrollablePage { id: loadingIndicator anchors.centerIn: parent visible: page.currentRoom === null || (messageListView.count === 0 && !page.currentRoom.allHistoryLoaded && !page.currentRoom.isInvite) + text: i18n("Loading") QQC2.BusyIndicator { - running: true + running: loadingIndicator.visible } } @@ -342,6 +343,7 @@ Kirigami.ScrollablePage { } NumberAnimation { property: "opacity"; to: 1 + duration: Kirigami.Units.shortDuration } } @@ -353,6 +355,7 @@ Kirigami.ScrollablePage { } NumberAnimation { property: "opacity"; to: 1 + duration: Kirigami.Units.shortDuration } } @@ -744,7 +747,7 @@ Kirigami.ScrollablePage { Connections { enabled: Config.showFancyEffects target: messageEventModel - onFancyEffectsReasonFound: { + function onFancyEffectsReasonFound(fancyEffect) { fancyEffectsContainer.processFancyEffectsReason(fancyEffect) } } @@ -752,7 +755,7 @@ Kirigami.ScrollablePage { Connections { enabled: Config.showFancyEffects target: chatBox - onFancyEffectsReasonFound: { + function onFancyEffectsReasonFound(fancyEffect) { fancyEffectsContainer.processFancyEffectsReason(fancyEffect) } }