Fix alignment

This commit is contained in:
Eric Bailey
2024-07-23 15:36:13 -05:00
parent 2fe2534f88
commit d7426d45e2
2 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -304,7 +304,7 @@ function MutedWordsInner() {
onChange={setExcludeFollowing}>
<TargetToggle>
<View style={[a.flex_1, a.flex_row, a.align_center, a.gap_sm]}>
<Toggle.Radio />
<Toggle.Checkbox />
<Toggle.LabelText style={[a.flex_1, a.leading_tight]}>
<Trans>Exclude users you follow</Trans>
</Toggle.LabelText>
+8 -3
View File
@@ -3,9 +3,10 @@ import {Pressable, View, ViewStyle} from 'react-native'
import {HITSLOP_10} from 'lib/constants'
import {
android,
atoms as a,
flatten,
native,
ios,
TextStyleProp,
useTheme,
ViewStyleProp,
@@ -244,14 +245,18 @@ export function LabelText({
<Text
style={[
a.font_bold,
a.leading_tight,
{
userSelect: 'none',
color: disabled
? t.atoms.text_contrast_low.color
: t.atoms.text_contrast_high.color,
},
native({
paddingTop: 3,
ios({
paddingTop: 2,
}),
android({
paddingTop: 1,
}),
flatten(style),
]}>