Skip to content

Commit

Permalink
add offline indicator to basePaymentspage
Browse files Browse the repository at this point in the history
update offline indicator styles for resend validation page
  • Loading branch information
NikkiWines committed Jul 27, 2022
1 parent bfbdd4e commit f9cf909
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/pages/settings/Payments/PaymentsPage/BasePaymentsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import KYCWall from '../../../../components/KYCWall';
import {propTypes, defaultProps} from './paymentsPagePropTypes';
import {withNetwork} from '../../../../components/OnyxProvider';
import * as PaymentUtils from '../../../../libs/PaymentUtils';
import OfflineIndicator from '../../../../components/OfflineIndicator';

class BasePaymentsPage extends React.Component {
constructor(props) {
Expand Down Expand Up @@ -436,6 +437,7 @@ class BasePaymentsPage extends React.Component {
danger
/>
</KeyboardAvoidingView>
<OfflineIndicator containerStyles={[styles.ml5, styles.mv3]} />
</ScreenWrapper>
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/signin/ResendValidationForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class ResendValidationForm extends React.Component {
isDisabled={this.props.network.isOffline}
/>
</View>
<OfflineIndicator />
<OfflineIndicator containerStyles={[styles.mv1]} />
</>
);
}
Expand Down

0 comments on commit f9cf909

Please sign in to comment.