diff options
Diffstat (limited to 'pages/LoginName.qml')
-rw-r--r-- | pages/LoginName.qml | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/pages/LoginName.qml b/pages/LoginName.qml deleted file mode 100644 index 9294056..0000000 --- a/pages/LoginName.qml +++ /dev/null @@ -1,19 +0,0 @@ -import QtQuick 2.12 -import KelakonUser 0.1 - -EmailForm { - width: stackView.width - height: stackView.height - backButton.onClicked: stackView.pop() - instructionLabel.text: qsTr("Enter your email") - - emailTextField.onTextChanged: { - if (!emailTextField.text || !loginButton.enabled) - loginButton.enabled = !loginButton.enabled - } - - loginButton.onClicked: { - User.name = emailTextField.text - stackView.push("qrc:/pages/LoginPass.qml") - } -} |