summaryrefslogtreecommitdiffhomepage
path: root/app/components
diff options
context:
space:
mode:
authoranderklander <anderklander@gmail.com>2018-02-27 20:10:07 +0100
committerAndrej Mihajlov <and@mullvad.net>2018-03-26 14:22:10 +0200
commit7a5696418ce52fdf0243a71b4c92f7b65ebc4ccd (patch)
treebed1f199cab6258291b7d090426263d3421e6457 /app/components
parent96b33592c1b1b24574340fbb456046ee591966ff (diff)
downloadmullvadvpn-7a5696418ce52fdf0243a71b4c92f7b65ebc4ccd.tar.xz
mullvadvpn-7a5696418ce52fdf0243a71b4c92f7b65ebc4ccd.zip
Add placeholderTextColor for mobile
and removed console-scrap
Diffstat (limited to 'app/components')
-rw-r--r--app/components/Login.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/components/Login.js b/app/components/Login.js
index 2d7ea8f32f..53b85726cd 100644
--- a/app/components/Login.js
+++ b/app/components/Login.js
@@ -7,6 +7,7 @@ import { formatAccount } from '../lib/formatters';
import Img from './Img';
import { Button, BlueButton, Label } from './styled';
import styles from './LoginStyles';
+import { colors } from '../config';
import type { AccountReduxState } from '../redux/account/reducers';
import type { AccountToken } from '../lib/ipc-facade';
@@ -117,7 +118,6 @@ export default class Login extends React.Component<LoginPropTypes, State> {
}
const footerPosition = this._shouldShowFooter(props) ? 0 : this.state.footerHeight;
const dropdownHeight = this._shouldShowAccountHistory(props) ? this.state.dropdownHeight : 0;
- console.log(dropdownHeight);
this._setAnimation(this._getFooterAnimation(footerPosition), this._getDropdownAnimation(dropdownHeight));
}
@@ -306,6 +306,7 @@ export default class Login extends React.Component<LoginPropTypes, State> {
<AccountInput style={styles.account_input_textfield}
type="text"
placeholder="e.g 0000 0000 0000"
+ placeholderTextColor={colors.blue20}
onFocus={ this._onFocus }
onBlur={ this._onBlur }
onChange={ this._onInputChange }