diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/components/Login.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/components/Login.js b/app/components/Login.js index b99fbdfc23..fecb5007a9 100644 --- a/app/components/Login.js +++ b/app/components/Login.js @@ -37,7 +37,7 @@ type State = { export default class Login extends Component<LoginPropTypes, State> { state = { notifyOnFirstChangeAfterFailure: false, - isActive: false, + isActive: true, dropdownHeight: 0, footerHeight: 0, animatedFooterValue: Animated.createValue(0), @@ -128,7 +128,7 @@ export default class Login extends Component<LoginPropTypes, State> { _setAnimation = (footerAnimation: Animated.CompositeAnimation, dropdownAnimation: Animated.CompositeAnimation) => { let compositeAnimation = Animated.parallel([ footerAnimation, dropdownAnimation ]); this.setState({animation: compositeAnimation}, () => { - this.state.animation.start(() => this.setState({ + compositeAnimation.start(() => this.setState({ animation: null })); }); |
