GODT-1741: GUI and CLI settings to change visibility of All Mail folder.

This commit is contained in:
Jakub
2022-07-28 12:35:03 +02:00
parent 8b39ea4acb
commit 76469969f3
6 changed files with 79 additions and 0 deletions

View File

@ -156,6 +156,19 @@ SettingsView {
Layout.fillWidth: true
}
SettingsItem {
id: allMail
visible: root._isAdvancedShown
colorScheme: root.colorScheme
text: qsTr("Disable All Mail")
description: qsTr("Choose not to list the All Mail folder in your local client.")
type: SettingsItem.Toggle
checked: root.backend.isAllMailDisabled
onClicked: root.backend.changeIsAllMailDisabled(!allMail.checked )
Layout.fillWidth: true
}
SettingsItem {
id: ports
visible: root._isAdvancedShown