summaryrefslogtreecommitdiff
path: root/LoginEmail.qml
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-19 22:15:47 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-19 22:15:47 +0800
commitb7baeea2ab0f999a755226b79242f78a472d5a80 (patch)
tree64a3f77287ca1f4af365ab1d911079bd417ca574 /LoginEmail.qml
parent7362b70f98e88f6a4118f79744c6f358abd730de (diff)
Replaced UIs whose replacements are ready in Larva
and reorganise logical QML files
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")
+ }
+ }
+}