aboutsummaryrefslogtreecommitdiff
path: root/qml/SettingsPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml/SettingsPage.qml')
-rw-r--r--qml/SettingsPage.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/qml/SettingsPage.qml b/qml/SettingsPage.qml
index cd702ab..0257b6a 100644
--- a/qml/SettingsPage.qml
+++ b/qml/SettingsPage.qml
@@ -78,5 +78,19 @@ Kirigami.Page {
checked: settingsPageRoot.context.getConfig("mvbox_move") == "1"
onToggled: settingsPageRoot.context.setConfig("mvbox_move", checked ? "1" : "0")
}
+
+ ComboBox {
+ Kirigami.FormData.label: "Show classic emails: "
+
+ model: ListModel {
+ id: certificateChecksModel
+ ListElement { text: "No, chats only" }
+ ListElement { text: "For accepted contacts" }
+ ListElement { text: "All" }
+ }
+ textRole: "text"
+ currentIndex: settingsPageRoot.context.getConfig("show_emails")
+ onActivated: settingsPageRoot.context.setConfig("show_emails", currentIndex)
+ }
}
}