Skip to content

Commit

Permalink
Merge pull request #5621 from Expensify/puneet-bank-icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Mechler authored Oct 4, 2021
2 parents b7dd0b0 + 09d5088 commit 11cfb68
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/components/AddPlaidBankAccount.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ import ExpensiPicker from './ExpensiPicker';
import Text from './Text';
import * as ReimbursementAccountUtils from '../libs/ReimbursementAccountUtils';
import ReimbursementAccountForm from '../pages/ReimbursementAccount/ReimbursementAccountForm';
import getBankIcon from './Icon/BankIcons';
import Icon from './Icon';
import variables from '../styles/variables';

const propTypes = {
...withLocalizePropTypes,
Expand Down Expand Up @@ -177,9 +180,14 @@ class AddPlaidBankAccount extends React.Component {
{!_.isEmpty(this.props.text) && (
<Text style={[styles.mb5]}>{this.props.text}</Text>
)}
{/* @TODO there are a bunch of logos to incorporate here to replace this name
https://d2k5nsl2zxldvw.cloudfront.net/images/plaid/[email protected] */}
<Text style={[styles.mb5, styles.h1]}>{this.state.institution.name}</Text>
<View style={[styles.flexRow, styles.alignItemsCenter, styles.mb5]}>
<Icon
src={getBankIcon(this.state.institution.name).icon}
height={variables.avatarSizeNormal}
width={variables.avatarSizeNormal}
/>
<Text style={[styles.ml3, styles.textStrong]}>{this.state.institution.name}</Text>
</View>
<View style={[styles.mb5]}>
<ExpensiPicker
label={this.props.translate('addPersonalBankAccountPage.chooseAccountLabel')}
Expand Down

0 comments on commit 11cfb68

Please sign in to comment.