mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile-widgets/qml: correct Pin page
Did not switch to divelog page. call verifyCredentials() not saveCredentials when checking pin Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
parent
c4952b0dcb
commit
e9d519444d
1 changed files with 1 additions and 2 deletions
|
@ -15,7 +15,6 @@ Item {
|
||||||
property string password: password.text;
|
property string password: password.text;
|
||||||
|
|
||||||
function saveCredentials() {
|
function saveCredentials() {
|
||||||
prefs.cloudPin = pin.text
|
|
||||||
manager.saveCloudCredentials(login.text, password.text)
|
manager.saveCloudCredentials(login.text, password.text)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -103,7 +102,7 @@ Item {
|
||||||
id: registerpin
|
id: registerpin
|
||||||
text: qsTr("Register")
|
text: qsTr("Register")
|
||||||
onClicked: {
|
onClicked: {
|
||||||
saveCredentials()
|
verifyCredentials(login.text, password.text, pin.text)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Controls.Label {
|
Controls.Label {
|
||||||
|
|
Loading…
Add table
Reference in a new issue