Skip to content

Commit a91707b

Browse files
authored
Merge pull request Expensify#88738 from Expensify/claude-useLoadingIndicatorInPlanTypePage
Use LoadingIndicator in WorkspaceOverviewPlanTypePage
2 parents 03d20e7 + b88c30a commit a91707b

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/pages/workspace/DynamicWorkspaceOverviewPlanTypePage.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import {format} from 'date-fns';
22
import React, {useEffect, useState} from 'react';
33
import {View} from 'react-native';
44
import type {ValueOf} from 'type-fest';
5+
import ActivityIndicator from '@components/ActivityIndicator';
56
import Button from '@components/Button';
6-
import FullScreenLoadingIndicator from '@components/FullscreenLoadingIndicator';
77
import HeaderWithBackButton from '@components/HeaderWithBackButton';
88
import Icon from '@components/Icon';
99
import ScreenWrapper from '@components/ScreenWrapper';
@@ -133,8 +133,11 @@ function DynamicWorkspaceOverviewPlanTypePage({policy}: WithPolicyProps) {
133133
>
134134
<HeaderWithBackButton title={translate('workspace.common.planType')} />
135135
{policy?.isLoading ? (
136-
<View style={styles.flex1}>
137-
<FullScreenLoadingIndicator reasonAttributes={{context: 'WorkspaceOverviewPlanTypePage'}} />
136+
<View style={[styles.flex1, styles.fullScreenLoading]}>
137+
<ActivityIndicator
138+
size={CONST.ACTIVITY_INDICATOR_SIZE.LARGE}
139+
reasonAttributes={{context: 'WorkspaceOverviewPlanTypePage'}}
140+
/>
138141
</View>
139142
) : (
140143
<>

0 commit comments

Comments
 (0)