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>
This commit is contained in:
jan Iversen 2019-12-27 09:25:31 +01:00 committed by Dirk Hohndel
parent baec098eb3
commit dc018cd77d

View file

@ -54,8 +54,10 @@ Kirigami.ScrollablePage {
id: changeCloudSettings id: changeCloudSettings
text: qsTr("Change") text: qsTr("Change")
onClicked: { onClicked: {
prefs.cancelCredentialsPinSetup() PrefCloudStorage.cloud_verification_status = CloudStatus.CS_UNKNOWN
rootItem.returnTopPage() prefs.credentialStatus = CloudStatus.CS_UNKNOWN
manager.startPageText = qsTr("Starting...");
prefs.showPin = false;
} }
} }
Controls.Label { Controls.Label {