summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorErik Prabowo Kamal <erik@darapsa.co.id>2019-08-28 14:37:06 +0800
committerErik Prabowo Kamal <erik@darapsa.co.id>2019-08-28 14:37:06 +0800
commitcd0f1cf559b54cb78c66a32d15ef930b062ebe70 (patch)
tree6b873443a414ea9d3ed5b444e38ab9a40ed7d7e2 /pages
parent0a2ab9bd890b4688ee87939701a9188e186a5f41 (diff)
Next button pushes stack view to password page
Diffstat (limited to 'pages')
-rw-r--r--pages/Email.qml16
-rw-r--r--pages/Password.qml2
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 {
}