Fix alignment
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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),
|
||||
]}>
|
||||
|
||||
Reference in New Issue
Block a user