Revert toggle changes

This commit is contained in:
Eric Bailey
2024-07-23 16:11:18 -05:00
parent 412a0489d6
commit 69a61761de
+3 -8
View File
@@ -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),
]}> ]}>