diff options
-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 |