forked from vergnet/application-amicale
Fixed crash on login input change
This commit is contained in:
parent
b66e50eaf8
commit
98168b560b
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ class LoginScreen extends React.Component<Props, State> {
|
||||||
|
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
super(props);
|
super(props);
|
||||||
|
this.passwordInputRef = React.createRef();
|
||||||
this.onEmailChange = this.onInputChange.bind(this, true);
|
this.onEmailChange = this.onInputChange.bind(this, true);
|
||||||
this.onPasswordChange = this.onInputChange.bind(this, false);
|
this.onPasswordChange = this.onInputChange.bind(this, false);
|
||||||
this.props.navigation.addListener('focus', this.onScreenFocus);
|
this.props.navigation.addListener('focus', this.onScreenFocus);
|
||||||
|
|
Loading…
Reference in a new issue