Remove duplicate modal container (#1661)
parent
d47ff542da
commit
60c0db03f7
|
@ -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' ? (
|
||||||
|
|
Loading…
Reference in New Issue