aboutsummaryrefslogtreecommitdiff
path: root/src/utils/users.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/users.ts')
-rw-r--r--src/utils/users.ts5
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)