diff options
Diffstat (limited to 'Email.qml')
-rw-r--r-- | Email.qml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Email.qml b/Email.qml new file mode 100644 index 0000000..5ab8953 --- /dev/null +++ b/Email.qml @@ -0,0 +1,22 @@ +import QtQuick 2.12 +import KelakonUser 0.1 +import "pages" + +EmailForm { + backButton { + icon.source: "larva/components/icons/arrow-back-24px.svg" + onClicked: pageView.pop() + } + + emailImage.source: "larva/components/icons/email-24px.svg" + + emailTextField.onTextChanged: { + if (!emailTextField.text || !loginButton.enabled) + loginButton.enabled = !loginButton.enabled + } + + loginButton.onClicked: { + User.emailAddress = emailTextField.text + pageView.push("Password.qml") + } +} |