Fix alignment
This commit is contained in:
@@ -304,7 +304,7 @@ function MutedWordsInner() {
|
|||||||
onChange={setExcludeFollowing}>
|
onChange={setExcludeFollowing}>
|
||||||
<TargetToggle>
|
<TargetToggle>
|
||||||
<View style={[a.flex_1, a.flex_row, a.align_center, a.gap_sm]}>
|
<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]}>
|
<Toggle.LabelText style={[a.flex_1, a.leading_tight]}>
|
||||||
<Trans>Exclude users you follow</Trans>
|
<Trans>Exclude users you follow</Trans>
|
||||||
</Toggle.LabelText>
|
</Toggle.LabelText>
|
||||||
|
|||||||
@@ -3,9 +3,10 @@ import {Pressable, View, ViewStyle} from 'react-native'
|
|||||||
|
|
||||||
import {HITSLOP_10} from 'lib/constants'
|
import {HITSLOP_10} from 'lib/constants'
|
||||||
import {
|
import {
|
||||||
|
android,
|
||||||
atoms as a,
|
atoms as a,
|
||||||
flatten,
|
flatten,
|
||||||
native,
|
ios,
|
||||||
TextStyleProp,
|
TextStyleProp,
|
||||||
useTheme,
|
useTheme,
|
||||||
ViewStyleProp,
|
ViewStyleProp,
|
||||||
@@ -244,14 +245,18 @@ export function LabelText({
|
|||||||
<Text
|
<Text
|
||||||
style={[
|
style={[
|
||||||
a.font_bold,
|
a.font_bold,
|
||||||
|
a.leading_tight,
|
||||||
{
|
{
|
||||||
userSelect: 'none',
|
userSelect: 'none',
|
||||||
color: disabled
|
color: disabled
|
||||||
? t.atoms.text_contrast_low.color
|
? t.atoms.text_contrast_low.color
|
||||||
: t.atoms.text_contrast_high.color,
|
: t.atoms.text_contrast_high.color,
|
||||||
},
|
},
|
||||||
native({
|
ios({
|
||||||
paddingTop: 3,
|
paddingTop: 2,
|
||||||
|
}),
|
||||||
|
android({
|
||||||
|
paddingTop: 1,
|
||||||
}),
|
}),
|
||||||
flatten(style),
|
flatten(style),
|
||||||
]}>
|
]}>
|
||||||
|
|||||||
Reference in New Issue
Block a user