mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
941aaf5b65
commit
32bc034f41
9 changed files with 159 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue