Revert toggle changes
This commit is contained in:
@@ -3,10 +3,9 @@ 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,
|
||||||
ios,
|
native,
|
||||||
TextStyleProp,
|
TextStyleProp,
|
||||||
useTheme,
|
useTheme,
|
||||||
ViewStyleProp,
|
ViewStyleProp,
|
||||||
@@ -245,18 +244,14 @@ 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,
|
||||||
},
|
},
|
||||||
ios({
|
native({
|
||||||
paddingTop: 2,
|
paddingTop: 3,
|
||||||
}),
|
|
||||||
android({
|
|
||||||
paddingTop: 1,
|
|
||||||
}),
|
}),
|
||||||
flatten(style),
|
flatten(style),
|
||||||
]}>
|
]}>
|
||||||
|
|||||||
Reference in New Issue
Block a user