diff options
author | Erik Prabowo <erik@darapsa.co.id> | 2019-08-28 19:22:30 +0800 |
---|---|---|
committer | Erik Prabowo <erik@darapsa.co.id> | 2019-08-28 19:22:30 +0800 |
commit | af9758eed129abf6cab3909853c357a0a9bb56e2 (patch) | |
tree | 2043fafcb7c020e708addf7939457bbc23345fe3 /pages | |
parent | fb0d79124fe0d84a4346c0670662bf8b0c64aed0 (diff) |
Back button on e-mail button pops stack view
Diffstat (limited to 'pages')
-rw-r--r-- | pages/Email.qml | 6 | ||||
-rw-r--r-- | pages/EmailForm.ui.qml | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/pages/Email.qml b/pages/Email.qml index f29309e..d2a1df3 100644 --- a/pages/Email.qml +++ b/pages/Email.qml @@ -5,6 +5,12 @@ EmailForm { width: stackView.width height: stackView.height + backButton { + onClicked: { + stackView.pop() + } + } + loginButton { onClicked: { User.emailAddress = emailTextField.text diff --git a/pages/EmailForm.ui.qml b/pages/EmailForm.ui.qml index f4ab07e..9b1bea2 100644 --- a/pages/EmailForm.ui.qml +++ b/pages/EmailForm.ui.qml @@ -7,6 +7,7 @@ Rectangle { color: "#fff" border.width: 0 + property alias backButton: backButton property alias emailTextField: emailTextField property alias loginButton: loginButton |