aboutsummaryrefslogtreecommitdiff
path: root/src/screens
diff options
context:
space:
mode:
authorMichael <michael.foiani@gmail.com>2021-07-09 16:22:26 -0400
committerMichael <michael.foiani@gmail.com>2021-07-09 16:22:26 -0400
commite9678b4dc94f04c192ad5573bb2debc6e28f21b6 (patch)
treefc6cf66bee236dac53ecd8ca06e8aa2111bfffdb /src/screens
parent11286fa274d0f8c721b7d507fc64660eed4807fe (diff)
Fix cropping bug. Updated the source to be the correct higher res video.
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/moments/CameraScreen.tsx4
-rw-r--r--src/screens/profile/CaptionScreen.tsx2
2 files changed, 3 insertions, 3 deletions
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<CameraScreenProps> = ({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
*/