diff options
Diffstat (limited to 'src/screens')
| -rw-r--r-- | src/screens/moments/CameraScreen.tsx | 7 | ||||
| -rw-r--r-- | src/screens/profile/CaptionScreen.tsx | 6 | ||||
| -rw-r--r-- | src/screens/profile/IndividualMoment.tsx | 1 |
3 files changed, 5 insertions, 9 deletions
diff --git a/src/screens/moments/CameraScreen.tsx b/src/screens/moments/CameraScreen.tsx index 2282ecad..ee5834cb 100644 --- a/src/screens/moments/CameraScreen.tsx +++ b/src/screens/moments/CameraScreen.tsx @@ -184,12 +184,7 @@ const CameraScreen: React.FC<CameraScreenProps> = ({route, navigation}) => { ) { showGIFFailureAlert(() => navigateToCropper(media.path)); } else { - // is this a video? - if (media.duration !== null) { - navigateToCaptionScreen(true, media.path); - } else { - navigateToCropper(media.path); - } + navigateToCropper(media.path); } }} /> diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx index 4a18c895..6bcf0e24 100644 --- a/src/screens/profile/CaptionScreen.tsx +++ b/src/screens/profile/CaptionScreen.tsx @@ -153,9 +153,9 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => { const formattedTags = () => { return tags.map((tag) => ({ - x: Math.floor(tag.x), - y: Math.floor(tag.y), - z: Math.floor(tag.z), + x: tag.x, + y: tag.y, + z: tag.z, user_id: tag.user.id, })); }; diff --git a/src/screens/profile/IndividualMoment.tsx b/src/screens/profile/IndividualMoment.tsx index c65d41e7..1b0c7c2b 100644 --- a/src/screens/profile/IndividualMoment.tsx +++ b/src/screens/profile/IndividualMoment.tsx @@ -92,6 +92,7 @@ const IndividualMoment: React.FC<IndividualMomentProps> = ({route}) => { screenType={screenType} /> )} + keyboardShouldPersistTaps={'handled'} scrollEnabled={!keyboardVisible} keyExtractor={(item, _) => item.moment_id} showsVerticalScrollIndicator={false} |
