Skip to content

Commit f15caaa

Browse files
committed
Reduce image size on upload
1 parent 2ae8891 commit f15caaa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/src/form/fields/TypeImage.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ const TypeImage = ({
3737
* Docs: https://docs.expo.dev/versions/latest/sdk/imagepicker/#usage
3838
*/
3939
const result = await ImagePicker.launchImageLibraryAsync({
40-
quality: 1,
4140
base64: true,
4241
});
4342
if (!result?.canceled) {
@@ -65,7 +64,6 @@ const TypeImage = ({
6564
}
6665
if (accessGranted) {
6766
const result = await ImagePicker.launchCameraAsync({
68-
quality: 1,
6967
base64: true,
7068
});
7169
if (!result?.canceled) {

0 commit comments

Comments
 (0)