From e9678b4dc94f04c192ad5573bb2debc6e28f21b6 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 9 Jul 2021 16:22:26 -0400 Subject: Fix cropping bug. Updated the source to be the correct higher res video. --- src/screens/moments/CameraScreen.tsx | 4 ++-- src/screens/profile/CaptionScreen.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/screens') diff --git a/src/screens/moments/CameraScreen.tsx b/src/screens/moments/CameraScreen.tsx index 75638c40..7643f6ab 100644 --- a/src/screens/moments/CameraScreen.tsx +++ b/src/screens/moments/CameraScreen.tsx @@ -186,9 +186,9 @@ const CameraScreen: React.FC = ({route, navigation}) => { } else { // is this a video? if (media.duration !== null) { - navigateToCaptionScreen(true, media.path); + navigateToCaptionScreen(true, media.sourceURL); } else { - navigateToCropper(media.path); + navigateToCropper(media.sourceURL); } } }} diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx index 4b5ac0c5..9816f1a3 100644 --- a/src/screens/profile/CaptionScreen.tsx +++ b/src/screens/profile/CaptionScreen.tsx @@ -42,7 +42,7 @@ import {RootState} from '../../store/rootReducer'; import {MomentTagType} from '../../types'; import {SCREEN_WIDTH, StatusBarHeight} from '../../utils'; import {mentionPartTypes} from '../../utils/comments'; -import {TrimmerPlayer} from '../../utils/trimmer'; +import {TrimmerPlayer} from '../../components/moments/trimmer'; /** * Upload Screen to allow users to upload posts to Tagg */ -- cgit v1.2.3-70-g09d2