Skip to content

Commit 1e9de2e

Browse files
authored
Merge pull request Expensify#87590 from Expensify/claude-useActivityIndicatorInScheduleCallPage
Replace FullscreenLoadingIndicator with ActivityIndicator in ScheduleCallPage
2 parents 7856de5 + 2f2599f commit 1e9de2e

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

src/pages/ScheduleCall/ScheduleCallPage.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import {useFocusEffect, useRoute} from '@react-navigation/native';
22
import {compareAsc, parse} from 'date-fns';
33
import React, {useCallback, useEffect, useMemo} from 'react';
44
import {View} from 'react-native';
5+
import ActivityIndicator from '@components/ActivityIndicator';
56
import FullPageOfflineBlockingView from '@components/BlockingViews/FullPageOfflineBlockingView';
67
import Button from '@components/Button';
78
import CalendarPicker from '@components/DatePicker/CalendarPicker';
89
import DotIndicatorMessage from '@components/DotIndicatorMessage';
9-
import FullScreenLoadingIndicator from '@components/FullscreenLoadingIndicator';
1010
import HeaderWithBackButton from '@components/HeaderWithBackButton';
1111
import MenuItemWithTopDescription from '@components/MenuItemWithTopDescription';
1212
import {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

Comments
 (0)