diff options
Diffstat (limited to 'components')
-rw-r--r-- | components/mail/contents/ui/Mail.qml | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/components/mail/contents/ui/Mail.qml b/components/mail/contents/ui/Mail.qml index 528c9073..1ae4062d 100644 --- a/components/mail/contents/ui/Mail.qml +++ b/components/mail/contents/ui/Mail.qml | |||
@@ -28,6 +28,7 @@ import org.kube.framework.actions 1.0 as KubeAction | |||
28 | import org.kube.framework.settings 1.0 as KubeSettings | 28 | import org.kube.framework.settings 1.0 as KubeSettings |
29 | import org.kube.framework.domain 1.0 as KubeFramework | 29 | import org.kube.framework.domain 1.0 as KubeFramework |
30 | import org.kube.framework.notifications 1.0 as KubeNotifications | 30 | import org.kube.framework.notifications 1.0 as KubeNotifications |
31 | import org.kube.framework.accounts 1.0 as KubeAccountsFramework | ||
31 | import org.kube.components 1.0 as KubeComponents | 32 | import org.kube.components 1.0 as KubeComponents |
32 | import org.kube.components.accounts 1.0 as KubeAccounts | 33 | import org.kube.components.accounts 1.0 as KubeAccounts |
33 | 34 | ||
@@ -270,16 +271,31 @@ Controls2.ApplicationWindow { | |||
270 | } | 271 | } |
271 | } | 272 | } |
272 | 273 | ||
273 | Text { | 274 | Repeater { |
274 | anchors { | 275 | model: KubeAccountsFramework.AccountsModel { |
275 | bottom: parent.bottom | 276 | accountId: accountSwitcher.accountId |
276 | left: parent.left | ||
277 | leftMargin: Kirigami.Units.smallSpacing | ||
278 | } | 277 | } |
279 | 278 | ||
280 | text: accountSwitcher.accountName | 279 | RowLayout { |
281 | font.weight: Font.DemiBold | 280 | anchors { |
282 | color: "white" | 281 | bottom: parent.bottom |
282 | left: parent.left | ||
283 | leftMargin: Kirigami.Units.smallSpacing | ||
284 | } | ||
285 | Layout.fillHeight: true | ||
286 | |||
287 | Text { | ||
288 | text: model.name | ||
289 | font.weight: Font.DemiBold | ||
290 | color: "white" | ||
291 | } | ||
292 | |||
293 | ToolButton { | ||
294 | visible: model.showStatus | ||
295 | iconName: model.statusIcon | ||
296 | enabled: false | ||
297 | } | ||
298 | } | ||
283 | } | 299 | } |
284 | } | 300 | } |
285 | 301 | ||