summaryrefslogtreecommitdiff
path: root/LoginEmail.qml
diff options
context:
space:
mode:
Diffstat (limited to 'LoginEmail.qml')
-rw-r--r--LoginEmail.qml18
1 files changed, 18 insertions, 0 deletions
diff --git a/LoginEmail.qml b/LoginEmail.qml
new file mode 100644
index 0000000..d699e19
--- /dev/null
+++ b/LoginEmail.qml
@@ -0,0 +1,18 @@
+import QtQuick 2.12
+import KelakonUser 0.1
+import "larva/features"
+
+LoginEmailForm {
+ emailTextField.onTextChanged: {
+ if (!emailTextField.text || !continueButton.enabled)
+ continueButton.enabled = !continueButton.enabled
+ }
+
+ continueButton {
+ icon.source: "assets/arrow-forward-24px.svg"
+ onClicked: {
+ User.name = emailTextField.text
+ contentView.push("LoginPassword.qml")
+ }
+ }
+}