From ae1352f3f13e7271584f743c29d9c0df8f5313c2 Mon Sep 17 00:00:00 2001
From: Mohamed Bassem <me@mbassem.com>
Date: Sat, 19 Jul 2025 09:41:45 +0000
Subject: fix(mobile): Fix image quality slider showing lots of decimal places.
 fixes #1735

---
 apps/mobile/app/dashboard/(tabs)/settings.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'apps/mobile/app/dashboard/(tabs)/settings.tsx')

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) =>
-- 
cgit v1.3-1-g0d28

