aboutsummaryrefslogtreecommitdiff
path: root/qml
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-05-03 18:43:53 +0300
committerlink2xt <link2xt@testrun.org>2021-05-03 18:43:53 +0300
commit6989af9c746a054dabe24af1210736f464099793 (patch)
tree9ce5b2fe42631e271a99b137f233ba2ba370c138 /qml
parent428f3b0ed41d1dc3bb7504e7a5e43fa72ef1b386 (diff)
downloadkdeltachat-6989af9c746a054dabe24af1210736f464099793.tar.gz
kdeltachat-6989af9c746a054dabe24af1210736f464099793.zip
Add "bcc_self" setting to Settings page
Diffstat (limited to 'qml')
-rw-r--r--qml/SettingsPage.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/qml/SettingsPage.qml b/qml/SettingsPage.qml
index a0194ca..eaabed2 100644
--- a/qml/SettingsPage.qml
+++ b/qml/SettingsPage.qml
@@ -60,6 +60,12 @@ Kirigami.Page {
}
Switch {
+ text: "Send copy to self"
+ checked: settingsPageRoot.context.getConfig("bcc_self") == "1"
+ onToggled: settingsPageRoot.context.setConfig("bcc_self", checked ? "1" : "0")
+ }
+
+ Switch {
text: "Move to DeltaChat"
checked: settingsPageRoot.context.getConfig("mvbox_move") == "1"
onToggled: settingsPageRoot.context.setConfig("mvbox_move", checked ? "1" : "0")