diff --git a/app/mobile/src/session/conversation/topicItem/TopicItem.jsx b/app/mobile/src/session/conversation/topicItem/TopicItem.jsx index d164a18f..416a79e3 100644 --- a/app/mobile/src/session/conversation/topicItem/TopicItem.jsx +++ b/app/mobile/src/session/conversation/topicItem/TopicItem.jsx @@ -13,7 +13,7 @@ import { ImageAsset } from './imageAsset/ImageAsset'; import { AudioAsset } from './audioAsset/AudioAsset'; import { VideoAsset } from './videoAsset/VideoAsset'; import Carousel from 'react-native-reanimated-carousel'; - +import { GestureHandlerRootView } from 'react-native-gesture-handler'; export function TopicItem({ item, focused, focus, hosting, remove, update, block, report, contentKey }) { const { state, actions } = useTopicItem(item, hosting, remove, contentKey); @@ -212,27 +212,29 @@ export function TopicItem({ item, focused, focus, hosting, remove, update, block onRequestClose={actions.hideCarousel} > - console.log('current index:', index)} - renderItem={({ index }) => ( - - { state.assets[index].type === 'image' && ( - - )} - { state.assets[index].type === 'video' && ( - - )} - { state.assets[index].type === 'audio' && ( - - )} - - )} /> + + console.log('current index:', index)} + renderItem={({ index }) => ( + + { state.assets[index].type === 'image' && ( + + )} + { state.assets[index].type === 'video' && ( + + )} + { state.assets[index].type === 'audio' && ( + + )} + + )} /> +