A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
fix(mobile): stack Upload Image Quality slider on two lines (#2794)
Evan Simkowitz75b6e910d79e
diff --git a/apps/mobile/app/dashboard/settings/index.tsx b/apps/mobile/app/dashboard/settings/index.tsxindex 1b6db43d..7942cb1f 100644--- a/apps/mobile/app/dashboard/settings/index.tsx+++ b/apps/mobile/app/dashboard/settings/index.tsx@@ -245,31 +245,30 @@ export default function Settings() {className="w-full rounded-xl bg-card py-2"style={{ borderCurve: "continuous" }}>- <View className="flex w-full flex-row items-center justify-between gap-8 px-4 py-1">- <Text>Upload Image Quality</Text>- <View className="flex flex-1 flex-row items-center justify-center gap-2">+ <View className="flex w-full flex-col gap-1 px-4 py-2">+ <View className="flex flex-row items-center justify-between">+ <Text>Upload Image Quality</Text><Text className="text-foreground">{Math.round(imageQuality ?? 0)}%</Text>-- {imageQuality === null ? (- <ActivityIndicator size="small" />- ) : (- <Slider- style={{ height: 40, flex: 1 }}- onSlidingComplete={(value) =>- setSettings({- ...settings,- imageQuality: Math.round(value) / 100,- })- }- onValueChange={(value) => setImageQuality(value)}- value={imageQuality}- minimumValue={0}- maximumValue={100}- />- )}</View>+ {imageQuality === null ? (+ <ActivityIndicator size="small" />+ ) : (+ <Slider+ style={{ height: 40, width: "100%" }}+ onSlidingComplete={(value) =>+ setSettings({+ ...settings,+ imageQuality: Math.round(value) / 100,+ })+ }+ onValueChange={(value) => setImageQuality(value)}+ value={imageQuality}+ minimumValue={0}+ maximumValue={100}+ />+ )}</View></View>