Skip to content

Commit cef7c93

Browse files
Fixed offline view on country selection page
1 parent dff31f4 commit cef7c93

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/pages/settings/Wallet/InternationalDepositAccount/substeps/CountrySelection.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React, {useCallback, useMemo, useState} from 'react';
22
import {View} from 'react-native';
3+
import FullPageOfflineBlockingView from '@components/BlockingViews/FullPageOfflineBlockingView';
34
import SelectionList from '@components/SelectionList';
45
import RadioListItem from '@components/SelectionList/RadioListItem';
56
import useDebouncedState from '@hooks/useDebouncedState';
@@ -62,7 +63,7 @@ function CountrySelection({isEditing, onNext, formValues, resetScreenIndex}: Cus
6263
const headerMessage = debouncedSearchValue.trim() && !searchResults.length ? translate('common.noResultsFound') : '';
6364

6465
return (
65-
<>
66+
<FullPageOfflineBlockingView>
6667
<View style={styles.ph5}>
6768
<Text style={[styles.textHeadlineLineHeightXXL, styles.mb6]}>{translate('addPersonalBankAccount.countrySelectionStepHeader')}</Text>
6869
</View>
@@ -84,7 +85,7 @@ function CountrySelection({isEditing, onNext, formValues, resetScreenIndex}: Cus
8485
isConfirmButtonDisabled={isOffline}
8586
shouldUpdateFocusedIndex
8687
/>
87-
</>
88+
</FullPageOfflineBlockingView>
8889
);
8990
}
9091

0 commit comments

Comments
 (0)