summaryrefslogtreecommitdiffstats
path: root/components/package/contents/ui/MailListView.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-23 10:39:58 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-23 10:39:58 +0100
commitc920d2346b39da89297aede673e9853829e181b3 (patch)
treec370450a6c7cf33bd534ea52646389be13345b76 /components/package/contents/ui/MailListView.qml
parent7d968fb8e51977ce7b49e0b8ccf96d8e30868426 (diff)
downloadkube-c920d2346b39da89297aede673e9853829e181b3.tar.gz
kube-c920d2346b39da89297aede673e9853829e181b3.zip
Show something if the data is not yet available.
We're still missing: * For empty folders we have to differentiate between truly empty folder, and folders that have not been synchronized yet. Further an indicator when the fetch is in progress would be useful. * For mails we need to indicate when the mail is being fetched.
Diffstat (limited to 'components/package/contents/ui/MailListView.qml')
-rw-r--r--components/package/contents/ui/MailListView.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/components/package/contents/ui/MailListView.qml b/components/package/contents/ui/MailListView.qml
index 97c1a0d4..e6e69251 100644
--- a/components/package/contents/ui/MailListView.qml
+++ b/components/package/contents/ui/MailListView.qml
@@ -96,6 +96,13 @@ Item {
96 placeholderText: qsTr("Filter...") 96 placeholderText: qsTr("Filter...")
97 } 97 }
98 98
99 Label {
100 anchors.top: searchBar.bottom
101 visible: listView.count === 0
102 //TODO depending on whether we synchronized already or not the label should change.
103 text: "Nothing here..."
104 }
105
99 ListView { 106 ListView {
100 id: listView 107 id: listView
101 108