From cd0f1cf559b54cb78c66a32d15ef930b062ebe70 Mon Sep 17 00:00:00 2001 From: Erik Prabowo Kamal Date: Wed, 28 Aug 2019 14:37:06 +0800 Subject: Next button pushes stack view to password page --- pages/Email.qml | 16 ++++++++-------- pages/Password.qml | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pages/Email.qml b/pages/Email.qml index d808c03..1c0d800 100644 --- a/pages/Email.qml +++ b/pages/Email.qml @@ -1,12 +1,12 @@ import QtQuick 2.12 EmailForm { - width: stackView.width - height: stackView.height + width: stackView.width + height: stackView.height - loginButton { - onClicked: { - appWindow.logIn("62" + phoneTextField.text) - } - } -} \ No newline at end of file + loginButton { + onClicked: { + stackView.push("qrc:/pages/Password.qml") + } + } +} diff --git a/pages/Password.qml b/pages/Password.qml index e0511cd..e1fc168 100644 --- a/pages/Password.qml +++ b/pages/Password.qml @@ -1,4 +1,4 @@ -import QtQuick 2.4 +import QtQuick 2.12 PasswordForm { } -- cgit v1.2.3