Skip to content

Commit c2a4815

Browse files
authored
Merge pull request Expensify#86475 from Expensify/claude-addAbsoluteFillToAttachmentLoading
Add absoluteFill to attachment loading overlay
2 parents 07c8b77 + 4e23780 commit c2a4815

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/pages/media/AttachmentModalScreen/AttachmentModalBaseContent

src/pages/media/AttachmentModalScreen/AttachmentModalBaseContent/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, {memo, useCallback, useContext, useEffect, useMemo, useState} from 'react';
2-
import {View} from 'react-native';
2+
import {StyleSheet, View} from 'react-native';
33
import {GestureHandlerRootView} from 'react-native-gesture-handler';
44
import Animated, {FadeIn, LayoutAnimationConfig, useSharedValue} from 'react-native-reanimated';
55
import ActivityIndicator from '@components/ActivityIndicator';
@@ -331,7 +331,7 @@ function AttachmentModalBaseContent({
331331
/>
332332
<View style={[styles.imageModalImageCenterContainer, attachmentViewContainerStyles]}>
333333
{isLoading && (
334-
<View style={[styles.fullScreenLoading]}>
334+
<View style={[StyleSheet.absoluteFill, styles.fullScreenLoading]}>
335335
<ActivityIndicator
336336
size={CONST.ACTIVITY_INDICATOR_SIZE.LARGE}
337337
testID="attachment-loading-spinner"

0 commit comments

Comments
 (0)