@@ -2,11 +2,11 @@ import {useFocusEffect, useRoute} from '@react-navigation/native';
22import { compareAsc , parse } from 'date-fns' ;
33import React , { useCallback , useEffect , useMemo } from 'react' ;
44import { View } from 'react-native' ;
5+ import ActivityIndicator from '@components/ActivityIndicator' ;
56import FullPageOfflineBlockingView from '@components/BlockingViews/FullPageOfflineBlockingView' ;
67import Button from '@components/Button' ;
78import CalendarPicker from '@components/DatePicker/CalendarPicker' ;
89import DotIndicatorMessage from '@components/DotIndicatorMessage' ;
9- import FullScreenLoadingIndicator from '@components/FullscreenLoadingIndicator' ;
1010import HeaderWithBackButton from '@components/HeaderWithBackButton' ;
1111import MenuItemWithTopDescription from '@components/MenuItemWithTopDescription' ;
1212import { useSession } from '@components/OnyxListItemProvider' ;
@@ -174,10 +174,12 @@ function ScheduleCallPage() {
174174 />
175175 < FullPageOfflineBlockingView >
176176 { adminReportNameValuePairs ?. calendlySchedule ?. isLoading ? (
177- < FullScreenLoadingIndicator
178- style = { [ styles . flex1 , styles . pRelative ] }
179- reasonAttributes = { { context : 'ScheduleCallPage' , isLoading : ! ! adminReportNameValuePairs ?. calendlySchedule ?. isLoading } }
180- />
177+ < View style = { [ styles . flex1 , styles . fullScreenLoading ] } >
178+ < ActivityIndicator
179+ size = { CONST . ACTIVITY_INDICATOR_SIZE . LARGE }
180+ reasonAttributes = { { context : 'ScheduleCallPage' , isLoading : ! ! adminReportNameValuePairs ?. calendlySchedule ?. isLoading } }
181+ />
182+ </ View >
181183 ) : (
182184 < ScrollView style = { styles . flexGrow1 } >
183185 < View style = { styles . ph5 } >
0 commit comments