summaryrefslogtreecommitdiff
path: root/Email.qml
blob: d0d3d80ec08a8ac4772881290e604bb7ab00487a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import QtQuick 2.12
import KelakonUser 0.1
import "larva/features"

EmailForm {
	backButton.onClicked: pageView.pop()

	emailTextField.onTextChanged: {
		if (!emailTextField.text || !loginButton.enabled)
			loginButton.enabled = !loginButton.enabled
	}

	loginButton.onClicked: {
		User.emailAddress = emailTextField.text
		pageView.push("Password.qml")
	}
}