diff --git a/src/pages/settings/Payments/PaymentsPage.js b/src/pages/settings/Payments/PaymentsPage.js index 19adca736e72..7a9cb9a14c47 100644 --- a/src/pages/settings/Payments/PaymentsPage.js +++ b/src/pages/settings/Payments/PaymentsPage.js @@ -1,5 +1,5 @@ import React from 'react'; -import {ScrollView, View} from 'react-native'; +import {ScrollView} from 'react-native'; import {withOnyx} from 'react-native-onyx'; import PropTypes from 'prop-types'; import PaymentMethodList from './PaymentMethodList'; @@ -143,20 +143,20 @@ class PaymentsPage extends React.Component { left: this.state.anchorPositionLeft, }} > - - {!this.props.payPalMeUsername && ( - this.addPaymentMethodTypePressed(PAYPAL)} - /> - )} + {!this.props.payPalMeUsername && ( this.addPaymentMethodTypePressed(DEBIT_CARD)} + title={this.props.translate('common.payPalMe')} + icon={PayPal} + onPress={() => this.addPaymentMethodTypePressed(PAYPAL)} + wrapperStyle={styles.pr15} /> - + )} + this.addPaymentMethodTypePressed(DEBIT_CARD)} + wrapperStyle={styles.pr15} + />