From 98168b560bed874f4251ac5e5aa40908829d3bb6 Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Mon, 29 Jun 2020 16:02:25 +0200 Subject: [PATCH] Fixed crash on login input change --- src/screens/Amicale/LoginScreen.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/screens/Amicale/LoginScreen.js b/src/screens/Amicale/LoginScreen.js index 5bf4ee5..b190c70 100644 --- a/src/screens/Amicale/LoginScreen.js +++ b/src/screens/Amicale/LoginScreen.js @@ -56,6 +56,7 @@ class LoginScreen extends React.Component { 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);