From 6272e8647f19cf9d12ed1f3caef9e1c31e4150d6 Mon Sep 17 00:00:00 2001 From: Erik Prabowo Kamal Date: Sat, 31 Aug 2019 13:07:00 +0800 Subject: Set up flows from password form to profile creation form --- pages/ConfirmPassword.qml | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'pages/ConfirmPassword.qml') diff --git a/pages/ConfirmPassword.qml b/pages/ConfirmPassword.qml index a93afda..78e57f1 100644 --- a/pages/ConfirmPassword.qml +++ b/pages/ConfirmPassword.qml @@ -3,16 +3,21 @@ import id.co.darapsa.kelakon.user 0.1 import id.co.darapsa.kelakon.rtclient 0.1 ConfirmPasswordForm { - width: stackView.width - height: stackView.height - backButton { - onClicked: { - stackView.pop() - } - } -} + width: stackView.width + height: stackView.height + + backButton { + onClicked: { + stackView.pop() + } + } + + emailAddressLabel.text: User.emailAddress -/*##^## Designer { - D{i:0;autoSize:true;height:480;width:640} + confirmPassButton { + onClicked: { + RTClient.logIn(User.emailAddress, User.password) + stackView.push("qrc:/pages/CreateProfile.qml") + } + } } - ##^##*/ -- cgit v1.2.3