summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rw-r--r--pages/Password.qml10
-rw-r--r--pages/PasswordForm.ui.qml2
2 files changed, 8 insertions, 4 deletions
diff --git a/pages/Password.qml b/pages/Password.qml
index a499a65..befeea5 100644
--- a/pages/Password.qml
+++ b/pages/Password.qml
@@ -12,9 +12,11 @@ PasswordForm {
}
createPassButton {
- onClicked: {
- User.password = passTextField.text
- RTClient.logIn(User.emailAddress, User.password)
- }
+ onClicked: {
+ User.password = passTextField.text
+ RTClient.logIn(User.emailAddress, User.password)
+ }
}
+
+ emailAddressLabel.text: User.emailAddress
}
diff --git a/pages/PasswordForm.ui.qml b/pages/PasswordForm.ui.qml
index 98c90a2..757017b 100644
--- a/pages/PasswordForm.ui.qml
+++ b/pages/PasswordForm.ui.qml
@@ -11,6 +11,7 @@ Rectangle {
property alias backButton: backButton
property alias passTextField: passTextField
property alias createPassButton: createPassButton
+ property alias emailAddressLabel: emailAddressLabel
Rectangle {
id: appBar
@@ -66,6 +67,7 @@ Rectangle {
anchors.bottomMargin: 16
Label {
+ id: emailAddressLabel
anchors.right: parent.right
anchors.rightMargin: 16
anchors.left: parent.left