Skip to content

Commit

Permalink
Remove duplicate modal container (#1661)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored Oct 10, 2023
1 parent d47ff54 commit 60c0db0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/view/com/lightbox/ImageViewing/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import {
ModalProps,
Platform,
} from 'react-native'
import {ModalsContainer} from '../../modals/Modal'

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

0 comments on commit 60c0db0

Please sign in to comment.