From fdf055ae222ac2063fa87759479018248657fd63 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Mon, 26 Aug 2024 21:33:01 +0300 Subject: feature(mobile): Allow configuring uploaded image quality in the mobile app --- apps/mobile/app/dashboard/(tabs)/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/mobile/app/dashboard/(tabs)/index.tsx') diff --git a/apps/mobile/app/dashboard/(tabs)/index.tsx b/apps/mobile/app/dashboard/(tabs)/index.tsx index dc9871e7..bd7ce3ea 100644 --- a/apps/mobile/app/dashboard/(tabs)/index.tsx +++ b/apps/mobile/app/dashboard/(tabs)/index.tsx @@ -34,7 +34,7 @@ function HeaderRight({ } else if (nativeEvent.event === "library") { const result = await ImagePicker.launchImageLibraryAsync({ mediaTypes: ImagePicker.MediaTypeOptions.Images, - quality: 0, + quality: settings.imageQuality, allowsMultipleSelection: false, }); if (!result.canceled) { -- cgit v1.3-1-g0d28