aboutsummaryrefslogtreecommitdiff
path: root/src/screens
diff options
context:
space:
mode:
authorBrian Kim <brian@tagg.id>2021-07-15 15:04:14 -0400
committerBrian Kim <brian@tagg.id>2021-07-15 15:04:14 -0400
commit404f8b7d78674aa5fc57c83a3b44496785124fee (patch)
treedf977d2600aa631746b58703f350ae42ab69be34 /src/screens
parentfb63fdf195a2e81a03301cfbf54d5c284b8c82cf (diff)
Initial changes
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/onboarding/ProfileInfoOnboarding.tsx1
-rw-r--r--src/screens/onboarding/legacy/ProfileOnboarding.tsx2
-rw-r--r--src/screens/profile/EditProfile.tsx2
-rw-r--r--src/screens/suggestedPeopleOnboarding/SuggestedPeopleUploadPictureScreen.tsx1
4 files changed, 6 insertions, 0 deletions
diff --git a/src/screens/onboarding/ProfileInfoOnboarding.tsx b/src/screens/onboarding/ProfileInfoOnboarding.tsx
index cdfbea8f..1d068a2c 100644
--- a/src/screens/onboarding/ProfileInfoOnboarding.tsx
+++ b/src/screens/onboarding/ProfileInfoOnboarding.tsx
@@ -108,6 +108,7 @@ const ProfileInfoOnboarding: React.FC<ProfileInfoOnboardingProps> = ({
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 e994c1e6..88e9183f 100644
--- a/src/screens/onboarding/legacy/ProfileOnboarding.tsx
+++ b/src/screens/onboarding/legacy/ProfileOnboarding.tsx
@@ -167,6 +167,7 @@ const ProfileOnboarding: React.FC<ProfileOnboardingProps> = ({
cropping: true,
cropperToolbarTitle: 'Select Header',
mediaType: 'photo',
+ compressVideoPreset: 'Passthrough',
}).then((picture) => {
if ('path' in picture) {
setForm({
@@ -192,6 +193,7 @@ const ProfileOnboarding: React.FC<ProfileOnboardingProps> = ({
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 20a62b19..fca02ffc 100644
--- a/src/screens/profile/EditProfile.tsx
+++ b/src/screens/profile/EditProfile.tsx
@@ -161,6 +161,7 @@ const EditProfile: React.FC<EditProfileProps> = ({route, navigation}) => {
cropping: true,
cropperToolbarTitle: 'Select Header',
mediaType: 'photo',
+ compressVideoPreset: 'Passthrough',
}).then((picture) => {
if ('path' in picture) {
setForm({
@@ -186,6 +187,7 @@ const EditProfile: React.FC<EditProfileProps> = ({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 f5a9f280..cdd9cedf 100644
--- a/src/screens/suggestedPeopleOnboarding/SuggestedPeopleUploadPictureScreen.tsx
+++ b/src/screens/suggestedPeopleOnboarding/SuggestedPeopleUploadPictureScreen.tsx
@@ -78,6 +78,7 @@ const SuggestedPeopleUploadPictureScreen: React.FC<SuggestedPeopleUploadPictureS
cropping: true,
cropperToolbarTitle: 'Select Photo',
mediaType: 'photo',
+ compressVideoPreset: 'Passthrough',
})
.then((picture) => {
if ('path' in picture) {