diff options
author | Brian Kim <brian@tagg.id> | 2021-07-16 14:52:52 -0400 |
---|---|---|
committer | Brian Kim <brian@tagg.id> | 2021-07-16 14:52:52 -0400 |
commit | 44edf83220a50b96fbdc67f505f4117bae6eb235 (patch) | |
tree | 5546fc32a07888df248bcf630dd3d35c278c9d4d /src/utils/users.ts | |
parent | 82e2ebed641463e31eb304846eafd664368f60b8 (diff) |
Clean up code
Diffstat (limited to 'src/utils/users.ts')
-rw-r--r-- | src/utils/users.ts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/utils/users.ts b/src/utils/users.ts index 75858fe2..992d7721 100644 --- a/src/utils/users.ts +++ b/src/utils/users.ts @@ -254,7 +254,6 @@ export const patchProfile = async ( cropping: true, cropperToolbarTitle: screenTitle, mediaType: 'photo', - compressVideoPreset: 'Passthrough', }; break; case 'profile': @@ -275,16 +274,13 @@ export const patchProfile = async ( cropperToolbarTitle: screenTitle, mediaType: 'photo', cropperCircleOverlay: true, - compressVideoPreset: 'Passthrough', }; break; default: screenTitle = ''; requestTitle = ''; fileName = ''; - imageSettings = { - compressVideoPreset: 'Passthrough', - }; + imageSettings = {}; } return await ImagePicker.openPicker(imageSettings) |