diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/components/Login.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/components/Login.js b/app/components/Login.js index a6a9544667..d8827959d4 100644 --- a/app/components/Login.js +++ b/app/components/Login.js @@ -52,8 +52,12 @@ export default class Login extends React.Component<LoginPropTypes, State> { if(props.account.status === 'failed') { this.state.notifyOnFirstChangeAfterFailure = true; } - this.state.dropdownAnimationStyle = Styles.createAnimatedViewStyle({height: this.state.animatedDropdownValue}); - this.state.footerAnimationStyle = Styles.createAnimatedViewStyle({transform: [{translateY: this.state.animatedFooterValue }]}); + this.state.dropdownAnimationStyle = Styles.createAnimatedViewStyle({ + height: this.state.animatedDropdownValue + }); + this.state.footerAnimationStyle = Styles.createAnimatedViewStyle({ + transform: [{translateY: this.state.animatedFooterValue }] + }); } componentWillReceiveProps(nextProps: LoginPropTypes) { |
