Skip to content

Commit e9cb70c

Browse files
authored
Merge pull request Expensify#85515 from Expensify/claude-useActivityIndicatorInPhoneNumberPage
Replace FullscreenLoadingIndicator with ActivityIndicator in PhoneNumberPage
2 parents fd9c471 + a1190d7 commit e9cb70c

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

src/pages/settings/Profile/PersonalDetails/PhoneNumberPage.tsx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import React, {useCallback} from 'react';
2+
import {View} from 'react-native';
3+
import ActivityIndicator from '@components/ActivityIndicator';
24
import DelegateNoAccessWrapper from '@components/DelegateNoAccessWrapper';
35
import FormProvider from '@components/Form/FormProvider';
46
import InputWrapper from '@components/Form/InputWrapper';
57
import type {FormInputErrors, FormOnyxValues} from '@components/Form/types';
6-
import FullscreenLoadingIndicator from '@components/FullscreenLoadingIndicator';
78
import HeaderWithBackButton from '@components/HeaderWithBackButton';
89
import OfflineWithFeedback from '@components/OfflineWithFeedback';
910
import ScreenWrapper from '@components/ScreenWrapper';
@@ -87,10 +88,12 @@ function PhoneNumberPage() {
8788
onBackButtonPress={() => Navigation.goBack()}
8889
/>
8990
{isLoadingApp ? (
90-
<FullscreenLoadingIndicator
91-
style={[styles.flex1, styles.pRelative]}
92-
reasonAttributes={{context: 'PhoneNumberPage', isLoadingApp} satisfies SkeletonSpanReasonAttributes}
93-
/>
91+
<View style={[styles.flex1, styles.fullScreenLoading]}>
92+
<ActivityIndicator
93+
size={CONST.ACTIVITY_INDICATOR_SIZE.LARGE}
94+
reasonAttributes={{context: 'PhoneNumberPage', isLoadingApp} satisfies SkeletonSpanReasonAttributes}
95+
/>
96+
</View>
9497
) : (
9598
<FormProvider
9699
style={[styles.flexGrow1, styles.ph5]}

0 commit comments

Comments
 (0)