Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant placeholder for login form #4918

Merged
merged 2 commits into from
Aug 31, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/languages/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ export default {
loginForm: {
pleaseEnterEmailOrPhoneNumber: 'Please enter an email or phone number',
phoneOrEmail: 'Phone or email',
enterYourPhoneOrEmail: 'Enter your phone or email:',
},
resendValidationForm: {
linkHasBeenResent: 'Link has been re-sent',
Expand Down
1 change: 0 additions & 1 deletion src/languages/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ export default {
loginForm: {
pleaseEnterEmailOrPhoneNumber: 'Por favor escribe un email o número de teléfono',
phoneOrEmail: 'Número de teléfono o email',
enterYourPhoneOrEmail: 'Escribe tu número de teléfono o email:',
},
resendValidationForm: {
linkHasBeenResent: 'El enlace se ha reenviado',
Expand Down
3 changes: 0 additions & 3 deletions src/pages/signin/LoginForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {withOnyx} from 'react-native-onyx';
import PropTypes from 'prop-types';
import _ from 'underscore';
import styles from '../../styles/styles';
import themeColors from '../../styles/themes/default';
import Button from '../../components/Button';
import Text from '../../components/Text';
import {fetchAccountDetails} from '../../libs/actions/Session';
Expand Down Expand Up @@ -83,8 +82,6 @@ class LoginForm extends React.Component {
autoCapitalize="none"
autoCorrect={false}
keyboardType={getEmailKeyboardType()}
placeholder={this.props.translate('loginForm.enterYourPhoneOrEmail')}
placeholderTextColor={themeColors.placeholderText}
autoFocus={canFocusInputOnScreenFocus()}
translateX={-18}
/>
Expand Down