Commit ca2c3826 authored by Dan Chapman's avatar Dan Chapman
Browse files

SHow loading spinner on msg list view

parent 9d9e7724
...@@ -322,7 +322,7 @@ DekkoPage { ...@@ -322,7 +322,7 @@ DekkoPage {
// isn't any need to add a binding on count/totalCount as that signal // isn't any need to add a binding on count/totalCount as that signal
// emits *very* often and really bogs down the UI. canPossiblyLoadMore will // emits *very* often and really bogs down the UI. canPossiblyLoadMore will
// only get emitted after all the insertions/removals have completed for a query. // only get emitted after all the insertions/removals have completed for a query.
footer: (!isSearchMode && MailStore.canLoadMore) ? footerComponent : null footer: (!isSearchMode && !MailStore.msgListLoading && MailStore.canLoadMore) ? footerComponent : null
Component { Component {
id: footerComponent id: footerComponent
...@@ -336,6 +336,16 @@ DekkoPage { ...@@ -336,6 +336,16 @@ DekkoPage {
} }
} }
} }
ActivityIndicator {
anchors {
top: parent.top
horizontalCenter: parent.horizontalCenter
topMargin: units.gu(20)
}
visible: MailStore.msgListLoading
running: MailStore.msgListLoading
}
} }
Binding { Binding {
......
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