mobile: add option to merge local cloud cache data

The UI is ugly, and of course this is hidden in the developer options that have
to first be enabled in the advanced settings. As I mentioned in the previous
commit, I believe the actual risk that something gets damaged here is very low,
but still, explaining this so it makes sense to the casual user may be a bit...
difficult.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-06-06 09:57:57 -07:00
parent 208d46d58e
commit e00e72d430
4 changed files with 93 additions and 0 deletions

View file

@ -534,6 +534,14 @@ if you have network connectivity and want to sync your data to cloud storage."),
}
}
Kirigami.Action {
text: qsTr("Access local cloud cache dirs")
onTriggered: {
globalDrawer.close()
showPage(recoverCache)
}
}
/* disable for now
Kirigami.Action {
text: qsTr("Dive planner")
@ -822,6 +830,12 @@ if you have network connectivity and want to sync your data to cloud storage."),
id: mapPage
visible: false
}
RecoverCache {
id: recoverCache
visible: false
}
/* this shouldn't be exposed unless someone will finish the work
DivePlannerSetup {
id: divePlannerSetupWindow