summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Prabowo Kamal <erik@darapsa.co.id>2019-08-28 18:07:53 +0800
committerErik Prabowo Kamal <erik@darapsa.co.id>2019-08-28 18:07:53 +0800
commitfb0d79124fe0d84a4346c0670662bf8b0c64aed0 (patch)
treeadde2d9896cab240187dba4d22e62e7dd6188401
parent8da67451cbaf8fdccdcd90a4d027a525e8b02d85 (diff)
Fixed the singleton user email address setting via QML
-rw-r--r--pages/Email.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/pages/Email.qml b/pages/Email.qml
index 531ceff..f29309e 100644
--- a/pages/Email.qml
+++ b/pages/Email.qml
@@ -4,11 +4,10 @@ import id.co.darapsa.kelakon.user 0.1
EmailForm {
width: stackView.width
height: stackView.height
- property string emailAddress: User.emailAddress
loginButton {
onClicked: {
- emailAddress = emailTextField.text
+ User.emailAddress = emailTextField.text
stackView.push("qrc:/pages/Password.qml")
}
}