Remove duplicate modal container (#1661)

zio/stable
dan 2023-10-10 19:57:14 +01:00 committed by GitHub
parent d47ff542da
commit 60c0db03f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -27,7 +27,6 @@ import {
ModalProps, ModalProps,
Platform, Platform,
} from 'react-native' } from 'react-native'
import {ModalsContainer} from '../../modals/Modal'
import ImageItem from './components/ImageItem/ImageItem' import ImageItem from './components/ImageItem/ImageItem'
import ImageDefaultHeader from './components/ImageDefaultHeader' import ImageDefaultHeader from './components/ImageDefaultHeader'
@ -155,7 +154,6 @@ function ImageViewing({
edges={edges} edges={edges}
aria-modal aria-modal
accessibilityViewIsModal> accessibilityViewIsModal>
<ModalsContainer />
<View style={[styles.container, {backgroundColor}]}> <View style={[styles.container, {backgroundColor}]}>
<Animated.View style={[styles.header, {transform: headerTransform}]}> <Animated.View style={[styles.header, {transform: headerTransform}]}>
{typeof HeaderComponent !== 'undefined' ? ( {typeof HeaderComponent !== 'undefined' ? (