aboutsummaryrefslogtreecommitdiff
path: root/src/screens
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/moments/CameraScreen.tsx11
-rw-r--r--src/screens/profile/CaptionScreen.tsx2
2 files changed, 8 insertions, 5 deletions
diff --git a/src/screens/moments/CameraScreen.tsx b/src/screens/moments/CameraScreen.tsx
index 2282ecad..4ed984e7 100644
--- a/src/screens/moments/CameraScreen.tsx
+++ b/src/screens/moments/CameraScreen.tsx
@@ -185,11 +185,12 @@ 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);
- }
+ // 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 1232eb66..38c6d8f0 100644
--- a/src/screens/profile/CaptionScreen.tsx
+++ b/src/screens/profile/CaptionScreen.tsx
@@ -49,6 +49,7 @@ import {RootState} from '../../store/rootReducer';
import {MomentTagType} from '../../types';
import {isIPhoneX, normalize, SCREEN_WIDTH, StatusBarHeight} from '../../utils';
import {mentionPartTypes} from '../../utils/comments';
+import {Trimmer, VideoPlayer} from 'react-native-video-processing';
/**
* Upload Screen to allow users to upload posts to Tagg
@@ -78,6 +79,7 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => {
const [taggedUsersText, setTaggedUsersText] = useState('');
const [momentCategory, setMomentCategory] = useState<string | undefined>();
const mediaUri = moment ? moment.moment_url : route.params.media!.uri;
+ // console.log('mediaUri', mediaUri);
// TODO: change this once moment refactor is done
const isMediaAVideo = moment
? !(