summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-29 19:38:16 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-29 19:38:16 +0200
commitaf1fe0932751e17b16755b4b95a457aedc850b98 (patch)
tree6700b868594e7831a8ba7528278da5e239c491d6 /components
parent5194b36177fb4e372c520435b505802a3d1a5371 (diff)
downloadkube-af1fe0932751e17b16755b4b95a457aedc850b98.tar.gz
kube-af1fe0932751e17b16755b4b95a457aedc850b98.zip
Show offline icon when offline
Diffstat (limited to 'components')
-rw-r--r--components/mail/contents/ui/Mail.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/mail/contents/ui/Mail.qml b/components/mail/contents/ui/Mail.qml
index 1bdbc5ed..04820d54 100644
--- a/components/mail/contents/ui/Mail.qml
+++ b/components/mail/contents/ui/Mail.qml
@@ -308,6 +308,10 @@ Controls2.ApplicationWindow {
308 State { 308 State {
309 name: "checkmark"; when: model.status == KubeAccountsFramework.AccountsModel.ConnectedStatus 309 name: "checkmark"; when: model.status == KubeAccountsFramework.AccountsModel.ConnectedStatus
310 PropertyChanges { target: statusIcon; iconName: KubeTheme.Icons.connected; visible: true } 310 PropertyChanges { target: statusIcon; iconName: KubeTheme.Icons.connected; visible: true }
311 },
312 State {
313 name: "disconnected"; when: model.status == KubeAccountsFramework.AccountsModel.OfflineStatus
314 PropertyChanges { target: statusIcon; iconName: KubeTheme.Icons.noNetworkConnection; visible: true }
311 } 315 }
312 ] 316 ]
313 } 317 }