@@ -95,7 +95,7 @@ function DescriptionInput({
9595 < Text
9696 numberOfLines = { 2 }
9797 ellipsizeMode = "tail"
98- className = "text-secondary-foreground font-medium2 text-lg text-center px-2"
98+ className = "text-secondary-foreground font-medium2 ios: text-lg android:text-base text-center px-2"
9999 >
100100 { description }
101101 </ Text >
@@ -113,7 +113,7 @@ function DescriptionInput({
113113 < Text
114114 numberOfLines = { 2 }
115115 ellipsizeMode = "tail"
116- className = "text-secondary-foreground font-medium2 text-lg text-center px-2"
116+ className = "text-secondary-foreground font-medium2 ios: text-lg android:text-base text-center px-2"
117117 >
118118 { description || "Add Description" }
119119 </ Text >
@@ -153,14 +153,22 @@ function DescriptionInput({
153153 height = { 24 }
154154 />
155155 </ TouchableOpacity >
156- < Text className = "text-xl sm:text-2xl font-semibold2 text-secondary-foreground" >
156+ < Text
157+ className = { cn (
158+ Platform . select ( {
159+ ios : "ios:text-xl ios:sm:text-2xl" ,
160+ android : "android:text-xl" ,
161+ } ) ,
162+ "font-semibold2 text-secondary-foreground" ,
163+ ) }
164+ >
157165 Add Description
158166 </ Text >
159167 </ View >
160168 { isIOS ? (
161169 < BottomSheetTextInput
162170 placeholder = "Sats for Satoshi"
163- className = "text-foreground placeholder:text-muted border-transparent bg-transparent text-center my-16 p-3 border text-2xl leading-[1.25] font-semibold2 caret-primary"
171+ className = "text-foreground placeholder:text-muted border-transparent bg-transparent text-center my-16 p-3 border ios: text-xl ios:sm:text- 2xl ios: leading-[1.25] font-semibold2 caret-primary"
164172 placeholderClassName = "text-muted"
165173 selectionColor = { primary }
166174 value = { input }
@@ -171,7 +179,7 @@ function DescriptionInput({
171179 ) : (
172180 < Input
173181 placeholder = "Sats for Satoshi"
174- className = "text-foreground border-0 border-transparent bg-transparent text-center my-16 p-3 text-2xl leading-[1.25] font-semibold2"
182+ className = "text-foreground border-0 border-transparent bg-transparent text-center my-16 p-3 android: text-xl leading-[1.25] font-semibold2"
175183 value = { input }
176184 onChangeText = { setInput }
177185 onSubmitEditing = { save }
@@ -361,10 +369,24 @@ export function DualCurrencyInput({
361369 ( inputMode === "sats" && bitcoinDisplayFormat === "bip177" ) ) && (
362370 < Text
363371 className = { cn (
364- displayCharacterCount > 11 ? "text-4xl" : "text-5xl" ,
365- displayCharacterCount <= 14 &&
366- displayCharacterCount >= 11 &&
367- "sm:text-5xl" ,
372+ Platform . select ( {
373+ ios : cn (
374+ displayCharacterCount > 11
375+ ? "ios:text-4xl"
376+ : "ios:text-5xl" ,
377+ displayCharacterCount <= 14 &&
378+ displayCharacterCount >= 11 &&
379+ "ios:sm:text-5xl" ,
380+ ) ,
381+ android : cn (
382+ displayCharacterCount > 11
383+ ? "android:text-4xl"
384+ : "android:text-[42px]" ,
385+ displayCharacterCount <= 14 &&
386+ displayCharacterCount >= 11 &&
387+ "sm:android:text-[42px]" ,
388+ ) ,
389+ } ) ,
368390 "text-secondary-foreground font-bold2 !leading-[1.5]" ,
369391 ! text && "text-muted" ,
370392 ) }
@@ -376,10 +398,24 @@ export function DualCurrencyInput({
376398 ) }
377399 < Text
378400 className = { cn (
379- displayCharacterCount > 11 ? "text-4xl" : "text-5xl" ,
380- displayCharacterCount <= 14 &&
381- displayCharacterCount >= 11 &&
382- "sm:text-5xl" ,
401+ Platform . select ( {
402+ ios : cn (
403+ displayCharacterCount > 11
404+ ? "ios:text-4xl"
405+ : "ios:text-5xl" ,
406+ displayCharacterCount <= 14 &&
407+ displayCharacterCount >= 11 &&
408+ "ios:sm:text-5xl" ,
409+ ) ,
410+ android : cn (
411+ displayCharacterCount > 11
412+ ? "android:text-4xl"
413+ : "android:text-[42px]" ,
414+ displayCharacterCount <= 14 &&
415+ displayCharacterCount >= 11 &&
416+ "sm:android:text-[42px]" ,
417+ ) ,
418+ } ) ,
383419 "font-semibold2 !leading-[1.5]" ,
384420 ! text && "text-muted" ,
385421 validationMessage && "text-destructive" ,
@@ -400,10 +436,24 @@ export function DualCurrencyInput({
400436 { inputMode === "sats" && bitcoinDisplayFormat === "sats" && (
401437 < Text
402438 className = { cn (
403- displayCharacterCount > 11 ? "text-4xl" : "text-5xl" ,
404- displayCharacterCount <= 14 &&
405- displayCharacterCount >= 11 &&
406- "sm:text-5xl" ,
439+ Platform . select ( {
440+ ios : cn (
441+ displayCharacterCount > 11
442+ ? "ios:text-4xl"
443+ : "ios:text-5xl" ,
444+ displayCharacterCount <= 14 &&
445+ displayCharacterCount >= 11 &&
446+ "ios:sm:text-5xl" ,
447+ ) ,
448+ android : cn (
449+ displayCharacterCount > 11
450+ ? "android:text-4xl"
451+ : "android:text-[42px]" ,
452+ displayCharacterCount <= 14 &&
453+ displayCharacterCount >= 11 &&
454+ "sm:android:text-[42px]" ,
455+ ) ,
456+ } ) ,
407457 "text-secondary-foreground font-semibold2 !leading-[1.5]" ,
408458 ! text && "text-muted" ,
409459 ) }
@@ -416,13 +466,13 @@ export function DualCurrencyInput({
416466 < Pressable onPress = { toggleInputMode } >
417467 < View className = "flex flex-row gap-2 items-center justify-center" >
418468 { getFiatAmount ? (
419- < Text className = "text-secondary-foreground text-3xl font-semibold2" >
469+ < Text className = "text-secondary-foreground ios: text-3xl android:text-2xl font-semibold2" >
420470 { inputMode === "fiat"
421471 ? formatBitcoinAmount ( + amount , bitcoinDisplayFormat )
422472 : getFiatAmount ( + amount ) || "" }
423473 </ Text >
424474 ) : (
425- < Skeleton className = "w-16 text-3xl" />
475+ < Skeleton className = "w-16 ios: text-3xl android:text-2xl " />
426476 ) }
427477 < SwapIcon
428478 className = "text-secondary-foreground"
@@ -502,7 +552,9 @@ export function DualCurrencyInput({
502552 < Text
503553 className = { cn (
504554 "font-bold2" ,
505- label === "000" ? "text-xl" : "text-3xl" ,
555+ label === "000"
556+ ? "ios:text-xl android:text-xl"
557+ : "ios:text-3xl android:text-3xl" ,
506558 isDisabledKey && "text-muted-foreground" ,
507559 ) }
508560 >
0 commit comments