From 44edf83220a50b96fbdc67f505f4117bae6eb235 Mon Sep 17 00:00:00 2001 From: Brian Kim Date: Fri, 16 Jul 2021 14:52:52 -0400 Subject: Clean up code --- src/screens/onboarding/ProfileInfoOnboarding.tsx | 1 - src/screens/onboarding/legacy/ProfileOnboarding.tsx | 2 -- src/screens/profile/EditProfile.tsx | 2 -- .../suggestedPeopleOnboarding/SuggestedPeopleUploadPictureScreen.tsx | 1 - 4 files changed, 6 deletions(-) (limited to 'src/screens') diff --git a/src/screens/onboarding/ProfileInfoOnboarding.tsx b/src/screens/onboarding/ProfileInfoOnboarding.tsx index 1d068a2c..cdfbea8f 100644 --- a/src/screens/onboarding/ProfileInfoOnboarding.tsx +++ b/src/screens/onboarding/ProfileInfoOnboarding.tsx @@ -108,7 +108,6 @@ const ProfileInfoOnboarding: React.FC = ({ cropperToolbarTitle: 'Select Profile Picture', mediaType: 'photo', cropperCircleOverlay: true, - compressVideoPreset: 'Passthrough', }).then((picture) => { if ('path' in picture) { setForm({ diff --git a/src/screens/onboarding/legacy/ProfileOnboarding.tsx b/src/screens/onboarding/legacy/ProfileOnboarding.tsx index 88e9183f..e994c1e6 100644 --- a/src/screens/onboarding/legacy/ProfileOnboarding.tsx +++ b/src/screens/onboarding/legacy/ProfileOnboarding.tsx @@ -167,7 +167,6 @@ const ProfileOnboarding: React.FC = ({ cropping: true, cropperToolbarTitle: 'Select Header', mediaType: 'photo', - compressVideoPreset: 'Passthrough', }).then((picture) => { if ('path' in picture) { setForm({ @@ -193,7 +192,6 @@ const ProfileOnboarding: React.FC = ({ cropperToolbarTitle: 'Select Profile Picture', mediaType: 'photo', cropperCircleOverlay: true, - compressVideoPreset: 'Passthrough', }).then((picture) => { if ('path' in picture) { setForm({ diff --git a/src/screens/profile/EditProfile.tsx b/src/screens/profile/EditProfile.tsx index fca02ffc..20a62b19 100644 --- a/src/screens/profile/EditProfile.tsx +++ b/src/screens/profile/EditProfile.tsx @@ -161,7 +161,6 @@ const EditProfile: React.FC = ({route, navigation}) => { cropping: true, cropperToolbarTitle: 'Select Header', mediaType: 'photo', - compressVideoPreset: 'Passthrough', }).then((picture) => { if ('path' in picture) { setForm({ @@ -187,7 +186,6 @@ const EditProfile: React.FC = ({route, navigation}) => { cropperToolbarTitle: 'Select Profile Picture', mediaType: 'photo', cropperCircleOverlay: true, - compressVideoPreset: 'Passthrough', }).then((picture) => { if ('path' in picture) { setForm({ diff --git a/src/screens/suggestedPeopleOnboarding/SuggestedPeopleUploadPictureScreen.tsx b/src/screens/suggestedPeopleOnboarding/SuggestedPeopleUploadPictureScreen.tsx index cdd9cedf..f5a9f280 100644 --- a/src/screens/suggestedPeopleOnboarding/SuggestedPeopleUploadPictureScreen.tsx +++ b/src/screens/suggestedPeopleOnboarding/SuggestedPeopleUploadPictureScreen.tsx @@ -78,7 +78,6 @@ const SuggestedPeopleUploadPictureScreen: React.FC { if ('path' in picture) { -- cgit v1.2.3-70-g09d2