diff options
Diffstat (limited to 'components')
-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 |