Make it 800

This commit is contained in:
Dan Abramov
2024-12-19 21:11:03 +00:00
parent caea620f80
commit 770643f7c3
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ export function StepProfile() {
if (!isWeb) { if (!isWeb) {
if (isIOS) { if (isIOS) {
// https://github.com/ivpusic/react-native-image-crop-picker/issues/1631 // https://github.com/ivpusic/react-native-image-crop-picker/issues/1631
await new Promise(resolve => setTimeout(resolve, 1000)) await new Promise(resolve => setTimeout(resolve, 800))
} }
image = await openCropper({ image = await openCropper({
mediaType: 'photo', mediaType: 'photo',
+1 -1
View File
@@ -321,7 +321,7 @@ let EditableUserAvatar = ({
try { try {
if (isIOS) { if (isIOS) {
// https://github.com/ivpusic/react-native-image-crop-picker/issues/1631 // https://github.com/ivpusic/react-native-image-crop-picker/issues/1631
await new Promise(resolve => setTimeout(resolve, 1000)) await new Promise(resolve => setTimeout(resolve, 800))
} }
const croppedImage = await openCropper({ const croppedImage = await openCropper({
mediaType: 'photo', mediaType: 'photo',
+1 -1
View File
@@ -70,7 +70,7 @@ export function UserBanner({
try { try {
if (isIOS) { if (isIOS) {
// https://github.com/ivpusic/react-native-image-crop-picker/issues/1631 // https://github.com/ivpusic/react-native-image-crop-picker/issues/1631
await new Promise(resolve => setTimeout(resolve, 1000)) await new Promise(resolve => setTimeout(resolve, 800))
} }
onSelectNewBanner?.( onSelectNewBanner?.(
await openCropper({ await openCropper({