mobile: add ability to delete cloud account

Apple store rules require this.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2022-08-07 17:11:05 -07:00
parent 941aaf5b65
commit 32bc034f41
9 changed files with 159 additions and 0 deletions

View file

@ -61,6 +61,15 @@ TemplatePage {
text: describe[Backend.cloud_verification_status]
Layout.preferredHeight: Kirigami.Units.gridUnit * 1.5
}
TemplateButton {
id: deleteCloudAccount
enabled: Backend.cloud_verification_status !== Enums.CS_NOCLOUD
text: qsTr("Delete Account")
onClicked: {
manager.appendTextToLog("requesting account deletion");
showPage(deleteAccount)
}
}
}
TemplateLine {
visible: sectionGeneral.isExpanded