diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-26 22:43:15 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-26 22:43:15 +0200 |
commit | 2b0278a02b8bb5de9da79de395942c55449c1c59 (patch) | |
tree | 80a3255cea34cfe6fdb74d69e041c1a4d6da7e08 /components/package/contents | |
parent | 35bb27c935eb444aa11b3063458a24122445a4d2 (diff) | |
download | kube-2b0278a02b8bb5de9da79de395942c55449c1c59.tar.gz kube-2b0278a02b8bb5de9da79de395942c55449c1c59.zip |
Update email status
Diffstat (limited to 'components/package/contents')
-rw-r--r-- | components/package/contents/ui/ConversationView.qml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/components/package/contents/ui/ConversationView.qml b/components/package/contents/ui/ConversationView.qml index 3f5976c2..aa3abcd2 100644 --- a/components/package/contents/ui/ConversationView.qml +++ b/components/package/contents/ui/ConversationView.qml | |||
@@ -476,9 +476,20 @@ Rectangle { | |||
476 | rightMargin: Kirigami.Units.largeSpacing | 476 | rightMargin: Kirigami.Units.largeSpacing |
477 | topMargin: Math.max(attachments.height, Kirigami.Units.largeSpacing) | 477 | topMargin: Math.max(attachments.height, Kirigami.Units.largeSpacing) |
478 | } | 478 | } |
479 | //TODO Change text if we're fetching the body | ||
480 | text: "Incomplete body..." | ||
481 | visible: model.incomplete | 479 | visible: model.incomplete |
480 | text: "Incomplete body..." | ||
481 | color: Kirigami.Theme.textColor | ||
482 | enabled: false | ||
483 | states: [ | ||
484 | State { | ||
485 | name: "inprogress"; when: model.status == KubeFramework.MailListModel.InProgressStatus | ||
486 | PropertyChanges { target: incompleteBody; text: "Downloading message..." } | ||
487 | }, | ||
488 | State { | ||
489 | name: "error"; when: model.status == KubeFramework.MailListModel.ErrorStatus | ||
490 | PropertyChanges { target: incompleteBody; text: "Failed to download message..." } | ||
491 | } | ||
492 | ] | ||
482 | } | 493 | } |
483 | Item { | 494 | Item { |
484 | id: footer | 495 | id: footer |