GODT-1794: Add confirmation dialog and change wording

This commit is contained in:
Jakub
2022-08-26 15:01:18 +02:00
parent 76469969f3
commit a93ed35eee
5 changed files with 63 additions and 15 deletions

View File

@ -160,11 +160,11 @@ SettingsView {
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.")
text: qsTr("Show All Mail")
description: qsTr("Choose to list the All Mail folder in your local client.")
type: SettingsItem.Toggle
checked: root.backend.isAllMailDisabled
onClicked: root.backend.changeIsAllMailDisabled(!allMail.checked )
checked: root.backend.isAllMailVisible
onClicked: root.notifications.askChangeAllMailVisibility(root.backend.isAllMailVisible)
Layout.fillWidth: true
}