1+ import ActivityIndicator from '@components/ActivityIndicator' ;
12import FormProvider from '@components/Form/FormProvider' ;
23import InputWrapper from '@components/Form/InputWrapper' ;
34import type { FormInputErrors , FormOnyxValues } from '@components/Form/types' ;
4- import FullScreenLoadingIndicator from '@components/FullscreenLoadingIndicator' ;
55import Text from '@components/Text' ;
66
77import useLocalize from '@hooks/useLocalize' ;
@@ -13,11 +13,13 @@ import useThemeStyles from '@hooks/useThemeStyles';
1313import type { SkeletonSpanReasonAttributes } from '@libs/telemetry/useSkeletonSpan' ;
1414import { getFieldRequiredErrors } from '@libs/ValidationUtils' ;
1515
16+ import CONST from '@src/CONST' ;
1617import ONYXKEYS from '@src/ONYXKEYS' ;
1718import INPUT_IDS from '@src/types/form/ReimbursementAccountForm' ;
1819import isLoadingOnyxValue from '@src/types/utils/isLoadingOnyxValue' ;
1920
2021import React from 'react' ;
22+ import { View } from 'react-native' ;
2123
2224import BusinessTypePicker from './BusinessTypePicker' ;
2325
@@ -47,7 +49,14 @@ function TypeBusiness({onNext, isEditing}: SubPageProps) {
4749 context : 'TypeBusiness' ,
4850 isLoadingReimbursementAccount,
4951 } ;
50- return < FullScreenLoadingIndicator reasonAttributes = { reasonAttributes } /> ;
52+ return (
53+ < View style = { [ styles . flex1 , styles . fullScreenLoading ] } >
54+ < ActivityIndicator
55+ size = { CONST . ACTIVITY_INDICATOR_SIZE . LARGE }
56+ reasonAttributes = { reasonAttributes }
57+ />
58+ </ View >
59+ ) ;
5160 }
5261
5362 return (
0 commit comments