diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-07-19 09:41:45 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2025-07-19 09:41:45 +0000 |
| commit | ae1352f3f13e7271584f743c29d9c0df8f5313c2 (patch) | |
| tree | e252af8247e5ef15cf1f8ca7587bb530b550fa60 /apps | |
| parent | 1da8b458adf2709f615a34db2710589545cb4f4a (diff) | |
| download | karakeep-ae1352f3f13e7271584f743c29d9c0df8f5313c2.tar.zst | |
fix(mobile): Fix image quality slider showing lots of decimal places. fixes #1735
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/mobile/app/dashboard/(tabs)/settings.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
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) => |
