diff options
author | Brian Kim <brian@tagg.id> | 2021-07-15 15:04:14 -0400 |
---|---|---|
committer | Brian Kim <brian@tagg.id> | 2021-07-15 15:04:14 -0400 |
commit | 404f8b7d78674aa5fc57c83a3b44496785124fee (patch) | |
tree | df977d2600aa631746b58703f350ae42ab69be34 /src/utils/users.ts | |
parent | fb63fdf195a2e81a03301cfbf54d5c284b8c82cf (diff) |
Initial changes
Diffstat (limited to 'src/utils/users.ts')
-rw-r--r-- | src/utils/users.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils/users.ts b/src/utils/users.ts index c1c3b8bc..75858fe2 100644 --- a/src/utils/users.ts +++ b/src/utils/users.ts @@ -254,6 +254,7 @@ export const patchProfile = async ( cropping: true, cropperToolbarTitle: screenTitle, mediaType: 'photo', + compressVideoPreset: 'Passthrough', }; break; case 'profile': @@ -274,12 +275,16 @@ export const patchProfile = async ( cropperToolbarTitle: screenTitle, mediaType: 'photo', cropperCircleOverlay: true, + compressVideoPreset: 'Passthrough', }; break; default: screenTitle = ''; requestTitle = ''; fileName = ''; + imageSettings = { + compressVideoPreset: 'Passthrough', + }; } return await ImagePicker.openPicker(imageSettings) |