Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix(mobile): Fix image quality slider showing lots of decimal places. fixes #1735

Mohamed Bassemae1352f3f13e
diff --git a/apps/mobile/app/dashboard/(tabs)/settings.tsx b/apps/mobile/app/dashboard/(tabs)/settings.tsx
index b0ba94df..7b3dab4f 100644
--- a/apps/mobile/app/dashboard/(tabs)/settings.tsx
+++ b/apps/mobile/app/dashboard/(tabs)/settings.tsx
@@ -99,7 +99,7 @@ export default function Dashboard() {
<Text className="text-lg text-accent-foreground">Image Quality</Text>
<View className="flex flex-1 flex-row items-center justify-center gap-2">
<Text className="text-foreground">
- {settings.imageQuality * 100}%
+ {Math.round(settings.imageQuality * 100)}%
</Text>
<Slider
onSlidingComplete={(value) =>