Fixed crash on login input change

Cette révision appartient à :
Arnaud Vergnet 2020-06-29 16:02:25 +02:00
Parent b66e50eaf8
révision 98168b560b

Voir le fichier

@ -56,6 +56,7 @@ class LoginScreen extends React.Component<Props, State> {
constructor(props) {
super(props);
this.passwordInputRef = React.createRef();
this.onEmailChange = this.onInputChange.bind(this, true);
this.onPasswordChange = this.onInputChange.bind(this, false);
this.props.navigation.addListener('focus', this.onScreenFocus);