fix(desktop/chat) fetch more messages not working

Fetch more messages is spinning indefinitely when
fetch more messages button is clicked and messages
are never displayed

Closes #4168
This commit is contained in:
Alexandra Betouni 2021-11-25 15:28:52 +02:00 committed by Jonathan Rainville
parent 66840da455
commit af887af4df
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@ Item {
Separator { Separator {
id: sep1 id: sep1
} }
Loader { Loader {
id: fetchLoaderIndicator id: fetchLoaderIndicator
anchors.top: sep1.bottom anchors.top: sep1.bottom
@ -59,6 +60,7 @@ Item {
fetchLoaderIndicator.active = true; fetchLoaderIndicator.active = true;
fetchMoreButton.visible = false; fetchMoreButton.visible = false;
fetchDate.visible = false; fetchDate.visible = false;
timer.start();
} }
} }
} }