From caac309593527dcd3da562a7ad7ccb9ff39a04bc Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 28 Aug 2021 21:06:58 +0000 Subject: Add "Show classic emails" setting --- qml/SettingsPage.qml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'qml/SettingsPage.qml') 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) + } } } -- cgit v1.2.3-70-g09d2