change fontSize: 15 to a.text_sm (#7896)

This commit is contained in:
Samuel Newman
2025-06-06 13:08:30 +03:00
committed by GitHub
parent 8f3f896a4a
commit 442de4ab7a
3 changed files with 5 additions and 10 deletions
@@ -114,12 +114,7 @@ export function PostControlButtonText({style, ...props}: TextProps) {
return (
<Text
style={[
color,
big ? a.text_md : {fontSize: 15},
active && a.font_bold,
style,
]}
style={[color, big ? a.text_md : a.text_sm, active && a.font_bold, style]}
{...props}
/>
)
+2 -2
View File
@@ -144,7 +144,7 @@ export function CountWheel({
<Text
testID="likeCount"
style={[
big ? a.text_md : {fontSize: 15},
big ? a.text_md : a.text_sm,
a.user_select_none,
isLiked
? [a.font_bold, s.likeColor]
@@ -162,7 +162,7 @@ export function CountWheel({
aria-disabled={true}>
<Text
style={[
big ? a.text_md : {fontSize: 15},
big ? a.text_md : a.text_sm,
a.user_select_none,
isLiked
? [a.font_bold, s.likeColor]
+2 -2
View File
@@ -90,7 +90,7 @@ export function CountWheel({
<Text
testID="likeCount"
style={[
big ? a.text_md : {fontSize: 15},
big ? a.text_md : a.text_sm,
a.user_select_none,
isLiked
? [a.font_bold, s.likeColor]
@@ -107,7 +107,7 @@ export function CountWheel({
ref={prevCountView}>
<Text
style={[
big ? a.text_md : {fontSize: 15},
big ? a.text_md : a.text_sm,
a.user_select_none,
isLiked
? [a.font_bold, s.likeColor]