aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-08-28 21:06:58 +0000
committerlink2xt <link2xt@testrun.org>2021-08-28 21:06:58 +0000
commitcaac309593527dcd3da562a7ad7ccb9ff39a04bc (patch)
treee7c2cb4b67ba472d00ad3ea8287382565ef81282
parenta30d37116dca5e3fb86eccb31fbfa7b6f4a97520 (diff)
downloadkdeltachat-caac309593527dcd3da562a7ad7ccb9ff39a04bc.tar.gz
kdeltachat-caac309593527dcd3da562a7ad7ccb9ff39a04bc.zip
Add "Show classic emails" setting
-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)
+ }
}
}