Skip to content
Closed
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
17 changes: 9 additions & 8 deletions src/pages/ReimbursementAccount/ValidationStep.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import lodashGet from 'lodash/get';
import React from 'react';
import {View, ScrollView} from 'react-native';
import {Image, View, ScrollView} from 'react-native';
import {withOnyx} from 'react-native-onyx';
import PropTypes from 'prop-types';
import Str from 'expensify-common/lib/str';
import _ from 'underscore';
import styles from '../../styles/styles';
import CONST from '../../CONST';
import withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';
import {
validateBankAccount, updateReimbursementAccountDraft, setBankAccountFormValidationErrors, showBankAccountErrorModal,
Expand Down Expand Up @@ -59,6 +60,7 @@ class ValidationStep extends React.Component {
super(props);

this.submit = this.submit.bind(this);
this.verifyingUrl = `${CONST.CLOUDFRONT_URL}/images/icons/emptystates/emptystate_reviewing.gif`;
this.navigateToConcierge = this.navigateToConcierge.bind(this);

this.state = {
Expand Down Expand Up @@ -248,19 +250,18 @@ class ValidationStep extends React.Component {
)}
{!maxAttemptsReached && state === BankAccount.STATE.VERIFYING && (
<View style={[styles.flex1]}>
<Text style={[styles.mh5, styles.mb5, styles.flex1]}>
<Image
source={{uri: this.verifyingUrl}}
style={[styles.workspaceInviteWelcome]}
resizeMode="center"
/>
<Text style={[styles.mh5, styles.mb5]}>
{this.props.translate('validationStep.reviewingInfo')}
<TextLink onPress={this.navigateToConcierge}>
{this.props.translate('common.here')}
</TextLink>
{this.props.translate('validationStep.forNextSteps')}
</Text>
<Button
success
text={this.props.translate('bankAccount.confirmModalConfirmText')}
style={[styles.mh5, styles.mb5]}
onPress={() => Navigation.dismissModal()}
/>
</View>
)}
</View>
Expand Down