summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/Settings.qml
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-12-27 09:25:31 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-28 08:34:56 -0800
commitdc018cd77d746b2d8cf97f714382e63841435ef6 (patch)
tree11ec1f8da43925e1b7dd9bfc9d0399f2bd402555 /mobile-widgets/qml/Settings.qml
parentbaec098eb39fc025795052a2f13a1e505f75b581 (diff)
downloadsubsurface-dc018cd77d746b2d8cf97f714382e63841435ef6.tar.gz
mobile-widgets/qml: remove cancelCredentialsPinSetup() from Settings
For now just copy the functionality into Settings.qml, this is part of the qmlprefs cleanup. Signed-off-by: Jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/Settings.qml')
-rw-r--r--mobile-widgets/qml/Settings.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml
index 52bd80f1d..ae5f95751 100644
--- a/mobile-widgets/qml/Settings.qml
+++ b/mobile-widgets/qml/Settings.qml
@@ -54,8 +54,10 @@ Kirigami.ScrollablePage {
id: changeCloudSettings
text: qsTr("Change")
onClicked: {
- prefs.cancelCredentialsPinSetup()
- rootItem.returnTopPage()
+ PrefCloudStorage.cloud_verification_status = CloudStatus.CS_UNKNOWN
+ prefs.credentialStatus = CloudStatus.CS_UNKNOWN
+ manager.startPageText = qsTr("Starting...");
+ prefs.showPin = false;
}
}
Controls.Label {