aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mobile/app/dashboard/(tabs)/index.tsx
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-08-26 21:33:01 +0300
committerMohamedBassem <me@mbassem.com>2024-08-26 21:33:01 +0300
commitfdf055ae222ac2063fa87759479018248657fd63 (patch)
tree686d5d921ae42f9108dbfa9faf00a9d10006f94f /apps/mobile/app/dashboard/(tabs)/index.tsx
parent140554021e83ca375845584f8d7e5e476434f1c0 (diff)
downloadkarakeep-fdf055ae222ac2063fa87759479018248657fd63.tar.zst
feature(mobile): Allow configuring uploaded image quality in the mobile app
Diffstat (limited to 'apps/mobile/app/dashboard/(tabs)/index.tsx')
-rw-r--r--apps/mobile/app/dashboard/(tabs)/index.tsx2
1 files changed, 1 insertions, 1 deletions
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) {