File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
apps/mobile/src/modules/discover Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export const Category = () => {
25
25
< View className = "mt-4 flex-row items-center justify-between pb-1 pl-6 pr-5 pt-4" >
26
26
< View className = "flex-row items-center gap-2" >
27
27
< Grid2CuteReIcon width = { 24 } height = { 24 } color = { label } />
28
- < Text className = "text-label text-2xl font-bold leading-[1.1]" > Categories</ Text >
28
+ < Text className = "text-label pb-2 text-2xl font-bold leading-[1.1]" > Categories</ Text >
29
29
</ View >
30
30
< ItemPressable
31
31
className = "rounded-lg p-1"
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export const Trending = ({
40
40
< View className = { cn ( "flex-row items-center justify-between pb-1 pt-4" , itemClassName ) } >
41
41
< View className = "flex-row items-center gap-2" >
42
42
< TrendingUpCuteReIcon width = { 24 } height = { 24 } color = { label } />
43
- < Text className = "text-label text-2xl font-bold leading-[1.1]" > Trending</ Text >
43
+ < Text className = "text-label pb-2 text-2xl font-bold leading-[1.1]" > Trending</ Text >
44
44
</ View >
45
45
< ItemPressable
46
46
className = "rounded-lg p-1"
Original file line number Diff line number Diff line change @@ -167,6 +167,7 @@ const SearchInput = () => {
167
167
</ Animated . View >
168
168
) }
169
169
< TextInput
170
+ textAlignVertical = "center"
170
171
enterKeyHint = "search"
171
172
autoFocus = { isFocused }
172
173
ref = { inputRef }
@@ -203,7 +204,13 @@ const SearchInput = () => {
203
204
className = "absolute -right-20 w-20 pl-4"
204
205
style = { cancelButtonAnimatedStyle }
205
206
>
206
- < Text className = "text-accent text-lg font-medium" > Cancel</ Text >
207
+ < Text
208
+ // Fix font scaling issues on Android
209
+ allowFontScaling = { false }
210
+ className = "text-accent text-lg font-medium"
211
+ >
212
+ Cancel
213
+ </ Text >
207
214
</ ReAnimatedTouchableOpacity >
208
215
</ Animated . View >
209
216
)
You can’t perform that action at this time.
0 commit comments