diff options
author | jan Iversen <jan@casacondor.com> | 2019-12-26 09:23:46 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-26 10:24:55 -0800 |
commit | e9d519444dbe6efc7b6080a20d5833e19fb97f02 (patch) | |
tree | 2231d56db34ebd079b540b7ffcf7b36edc8baa3a /mobile-widgets | |
parent | c4952b0dcb10549cd8e5003948adb3a036ca0e23 (diff) | |
download | subsurface-e9d519444dbe6efc7b6080a20d5833e19fb97f02.tar.gz |
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>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/CloudCredentials.qml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mobile-widgets/qml/CloudCredentials.qml b/mobile-widgets/qml/CloudCredentials.qml index 1b574b68a..e53f80780 100644 --- a/mobile-widgets/qml/CloudCredentials.qml +++ b/mobile-widgets/qml/CloudCredentials.qml @@ -15,7 +15,6 @@ Item { property string password: password.text; function saveCredentials() { - prefs.cloudPin = pin.text manager.saveCloudCredentials(login.text, password.text) } @@ -103,7 +102,7 @@ Item { id: registerpin text: qsTr("Register") onClicked: { - saveCredentials() + verifyCredentials(login.text, password.text, pin.text) } } Controls.Label { |