about summary refs log tree commit diff
path: root/src/screens/Onboarding/StepProfile
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens/Onboarding/StepProfile')
-rw-r--r--src/screens/Onboarding/StepProfile/index.tsx8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/screens/Onboarding/StepProfile/index.tsx b/src/screens/Onboarding/StepProfile/index.tsx
index 73472ec33..0e738f145 100644
--- a/src/screens/Onboarding/StepProfile/index.tsx
+++ b/src/screens/Onboarding/StepProfile/index.tsx
@@ -182,11 +182,9 @@ export function StepProfile() {
 
     if (!isWeb) {
       image = await openCropper({
-        mediaType: 'photo',
-        cropperCircleOverlay: true,
-        height: 1000,
-        width: 1000,
-        path: image.path,
+        imageUri: image.path,
+        shape: 'circle',
+        aspectRatio: 1 / 1,
       })
     }
     image = await compressIfNeeded(image, 1000000)