-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5621 from Expensify/puneet-bank-icons
- Loading branch information
Showing
1 changed file
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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, | ||
|
@@ -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')} | ||
|