Skip to content

Commit 93a2d5c

Browse files
authored
Merge pull request Expensify#75946 from Eskalifer1/fix/75534
fix:75534: Replaced FullscreenLoadingIndicator with ActivityIndicator in MapView component
2 parents 9d4ccec + 510ba53 commit 93a2d5c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/components/MapView/MapView.website.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, {lazy, Suspense, useEffect, useState} from 'react';
22
import {ErrorBoundary} from 'react-error-boundary';
3-
import FullScreenLoadingIndicator from '@components/FullscreenLoadingIndicator';
3+
import ActivityIndicator from '@components/ActivityIndicator';
44
import useLocalize from '@hooks/useLocalize';
55
import useNetwork from '@hooks/useNetwork';
66
import usePrevious from '@hooks/usePrevious';
@@ -36,7 +36,14 @@ function MapView({ref, ...props}: MapViewProps) {
3636
/>
3737
}
3838
>
39-
<Suspense fallback={<FullScreenLoadingIndicator />}>
39+
<Suspense
40+
fallback={
41+
<ActivityIndicator
42+
size="large"
43+
style={[styles.h100]}
44+
/>
45+
}
46+
>
4047
{!isOffline ? (
4148
<MapViewImpl
4249
ref={ref}

0 commit comments

Comments
 (0)