aboutsummaryrefslogtreecommitdiff
path: root/src/screens
diff options
context:
space:
mode:
authorBrian Kim <brian@tagg.id>2021-07-14 11:28:06 -0400
committerBrian Kim <brian@tagg.id>2021-07-14 11:28:06 -0400
commit1b9059d49532eacb60bf36b25771df42541670f4 (patch)
treeb56b7ea0f94d5cba12e64c430ac8889fd495832c /src/screens
parent5e1ef04923a103dccbb48be34bf99dfb625b2d87 (diff)
Clean up code round 2
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/moments/CameraScreen.tsx6
-rw-r--r--src/screens/profile/CaptionScreen.tsx1
2 files changed, 0 insertions, 7 deletions
diff --git a/src/screens/moments/CameraScreen.tsx b/src/screens/moments/CameraScreen.tsx
index 4ed984e7..ee5834cb 100644
--- a/src/screens/moments/CameraScreen.tsx
+++ b/src/screens/moments/CameraScreen.tsx
@@ -184,12 +184,6 @@ 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 99ff8819..1232eb66 100644
--- a/src/screens/profile/CaptionScreen.tsx
+++ b/src/screens/profile/CaptionScreen.tsx
@@ -78,7 +78,6 @@ 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
? !(