From 6a295a3bc4ea7b3884be178550365c89540e94b8 Mon Sep 17 00:00:00 2001 From: Jules Rosser Date: Thu, 16 Sep 2021 18:23:21 +0100 Subject: [PATCH] revert jules-updateValidatePageInVBAFlow PR --- .../ReimbursementAccount/ValidationStep.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/pages/ReimbursementAccount/ValidationStep.js b/src/pages/ReimbursementAccount/ValidationStep.js index b35db0fa1b3c..b981a46b5240 100644 --- a/src/pages/ReimbursementAccount/ValidationStep.js +++ b/src/pages/ReimbursementAccount/ValidationStep.js @@ -1,10 +1,11 @@ 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} from '../../libs/actions/BankAccounts'; import {navigateToConciergeChat} from '../../libs/actions/Report'; @@ -49,6 +50,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.state = { amount1: getDefaultStateForField(props, 'amount1', ''), @@ -180,7 +182,12 @@ class ValidationStep extends React.Component { )} {state === BankAccount.STATE.VERIFYING && ( - + + {this.props.translate('validationStep.reviewingInfo')} { @@ -195,12 +202,6 @@ class ValidationStep extends React.Component { {this.props.translate('validationStep.forNextSteps')} -