From 7096f61b178ffc0b713b7683d3c9556ef90e229e Mon Sep 17 00:00:00 2001 From: Jules Rosser Date: Tue, 14 Sep 2021 12:20:09 +0100 Subject: [PATCH 1/4] remove animation image from VBA validation step --- src/pages/ReimbursementAccount/ValidationStep.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/pages/ReimbursementAccount/ValidationStep.js b/src/pages/ReimbursementAccount/ValidationStep.js index bd4a51bff48c..8b99fb3cf114 100644 --- a/src/pages/ReimbursementAccount/ValidationStep.js +++ b/src/pages/ReimbursementAccount/ValidationStep.js @@ -1,5 +1,5 @@ import React from 'react'; -import {Image, View} from 'react-native'; +import {View} from 'react-native'; import {withOnyx} from 'react-native-onyx'; import PropTypes from 'prop-types'; import Str from 'expensify-common/lib/str'; @@ -180,11 +180,6 @@ class ValidationStep extends React.Component { )} {state === BankAccount.STATE.VERIFYING && ( - {this.props.translate('validationStep.reviewingInfo')} Date: Tue, 14 Sep 2021 14:45:45 +0100 Subject: [PATCH 2/4] remove now unused image URL and const import --- src/pages/ReimbursementAccount/ValidationStep.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pages/ReimbursementAccount/ValidationStep.js b/src/pages/ReimbursementAccount/ValidationStep.js index 8b99fb3cf114..ece1c1d0a75b 100644 --- a/src/pages/ReimbursementAccount/ValidationStep.js +++ b/src/pages/ReimbursementAccount/ValidationStep.js @@ -14,7 +14,6 @@ import Navigation from '../../libs/Navigation/Navigation'; import ExpensiTextInput from '../../components/ExpensiTextInput'; import Text from '../../components/Text'; import BankAccount from '../../libs/models/BankAccount'; -import CONST from '../../CONST'; import TextLink from '../../components/TextLink'; import ONYXKEYS from '../../ONYXKEYS'; import compose from '../../libs/compose'; @@ -50,7 +49,6 @@ 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', ''), From ac8adb0e200af7f0c0c920f9613588474ca6b4fd Mon Sep 17 00:00:00 2001 From: Jules Rosser Date: Tue, 14 Sep 2021 14:46:57 +0100 Subject: [PATCH 3/4] add close button to VBA validation page --- src/pages/ReimbursementAccount/ValidationStep.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/pages/ReimbursementAccount/ValidationStep.js b/src/pages/ReimbursementAccount/ValidationStep.js index ece1c1d0a75b..f9239f7b3b86 100644 --- a/src/pages/ReimbursementAccount/ValidationStep.js +++ b/src/pages/ReimbursementAccount/ValidationStep.js @@ -178,7 +178,7 @@ class ValidationStep extends React.Component { )} {state === BankAccount.STATE.VERIFYING && ( - + {this.props.translate('validationStep.reviewingInfo')} { @@ -193,6 +193,12 @@ class ValidationStep extends React.Component { {this.props.translate('validationStep.forNextSteps')} +