mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add `legacy` to picker for Android (#4377)

* add `legacy` to picker

* add for the other callsite

authored by hailey.at and committed by

GitHub 492c271a 42477d8b

+4 -1
+3 -1
src/lib/media/picker.shared.ts
··· 3 3 launchImageLibraryAsync, 4 4 MediaTypeOptions, 5 5 } from 'expo-image-picker' 6 + 7 + import * as Toast from 'view/com/util/Toast' 6 8 import {getDataUriSize} from './util' 7 - import * as Toast from 'view/com/util/Toast' 8 9 9 10 export async function openPicker(opts?: ImagePickerOptions) { 10 11 const response = await launchImageLibraryAsync({ ··· 12 13 mediaTypes: MediaTypeOptions.Images, 13 14 quality: 1, 14 15 ...opts, 16 + legacy: true, 15 17 }) 16 18 17 19 if (response.assets && response.assets.length > 4) {
+1
src/screens/Onboarding/StepProfile/index.tsx
··· 102 102 mediaTypes: MediaTypeOptions.Images, 103 103 quality: 1, 104 104 ...opts, 105 + legacy: true, 105 106 }) 106 107 107 108 return (response.assets ?? [])