diff options
author | Erik Prabowo Kamal <erik@darapsa.co.id> | 2019-08-31 13:07:00 +0800 |
---|---|---|
committer | Erik Prabowo Kamal <erik@darapsa.co.id> | 2019-08-31 13:07:00 +0800 |
commit | 6272e8647f19cf9d12ed1f3caef9e1c31e4150d6 (patch) | |
tree | b4e155dabe8c22ab96dfd310a76340d2075b0e66 /pages/Password.qml | |
parent | ca698a94c93278d80bef3a93196f8289546b47da (diff) |
Set up flows from password form to profile creation form
Diffstat (limited to 'pages/Password.qml')
-rw-r--r-- | pages/Password.qml | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/pages/Password.qml b/pages/Password.qml index befeea5..4a1ae59 100644 --- a/pages/Password.qml +++ b/pages/Password.qml @@ -1,22 +1,21 @@ import QtQuick 2.12 import id.co.darapsa.kelakon.user 0.1 -import id.co.darapsa.kelakon.rtclient 0.1 PasswordForm { - width: stackView.width - height: stackView.height - backButton { - onClicked: { - stackView.pop() - } - } + width: stackView.width + height: stackView.height + backButton { + onClicked: { + stackView.pop() + } + } - createPassButton { - onClicked: { - User.password = passTextField.text - RTClient.logIn(User.emailAddress, User.password) - } - } + emailAddressLabel.text: User.emailAddress - emailAddressLabel.text: User.emailAddress + createPassButton { + onClicked: { + User.password = passTextField.text + stackView.push("qrc:/pages/ConfirmPassword.qml") + } + } } |