summaryrefslogtreecommitdiffstats
path: root/applications/kube-mail/package/contents/ui
diff options
context:
space:
mode:
Diffstat (limited to 'applications/kube-mail/package/contents/ui')
-rw-r--r--applications/kube-mail/package/contents/ui/Settings.qml7
1 files changed, 4 insertions, 3 deletions
diff --git a/applications/kube-mail/package/contents/ui/Settings.qml b/applications/kube-mail/package/contents/ui/Settings.qml
index a3ea32f0..da44d331 100644
--- a/applications/kube-mail/package/contents/ui/Settings.qml
+++ b/applications/kube-mail/package/contents/ui/Settings.qml
@@ -55,19 +55,20 @@ Rectangle {
55 id: contextSettings 55 id: contextSettings
56 identifier: "applicationcontext" 56 identifier: "applicationcontext"
57 property string currentAccountId: "current" 57 property string currentAccountId: "current"
58 property var availableAccountTypes: ["maildir"]
59 property var accounts: ["current"]
58 } 60 }
59 61
60 Column { 62 Column {
61 spacing: 5 63 spacing: 5
62 Repeater { 64 Repeater {
63 model: ["current"] //Get from context settings 65 model: contextSettings.accounts
64 delegate: Maildir.AccountSettings { //This should be retrieved from the accounts plugin: KubeAccounts { identifier: modelData }.settingsUi 66 delegate: Maildir.AccountSettings { //This should be retrieved from the accounts plugin: KubeAccounts { identifier: modelData }.settingsUi
65 accountId: modelData 67 accountId: modelData
66 accountName: "Maildir"
67 } 68 }
68 } 69 }
69 } 70 }
70 71
71 //Add possibility to add more accounts 72 //TODO: Add possibility to add more accounts
72 } 73 }
73} 74}