aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/screens/moments/CameraScreen.tsx14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/screens/moments/CameraScreen.tsx b/src/screens/moments/CameraScreen.tsx
index 33ee2347..6e3e5184 100644
--- a/src/screens/moments/CameraScreen.tsx
+++ b/src/screens/moments/CameraScreen.tsx
@@ -74,16 +74,6 @@ const CameraScreen: React.FC<CameraScreenProps> = ({route, navigation}) => {
});
};
- const navigateToCaptionScreen = (isVideo: boolean, uri: string) => {
- navigation.navigate('CaptionScreen', {
- screenType,
- media: {
- uri,
- isVideo,
- },
- });
- };
-
const handleClose = () => {
navigation.dangerouslyGetParent()?.setOptions({
tabBarVisible: true,
@@ -116,9 +106,7 @@ const CameraScreen: React.FC<CameraScreenProps> = ({route, navigation}) => {
}
activeOpacity={1}
onLongPress={() => {
- takeVideo(cameraRef, (vid) => {
- navigateToCaptionScreen(true, vid.uri);
- });
+ takeVideo(cameraRef, (vid) => navigateToEditMedia(vid.uri));
setIsRecording(true);
}}
onPressOut={async () => {