diff --git a/src/components/forms/Toggle.tsx b/src/components/forms/Toggle.tsx index 8036223f2b..502ed535a4 100644 --- a/src/components/forms/Toggle.tsx +++ b/src/components/forms/Toggle.tsx @@ -1,5 +1,6 @@ import React from 'react' import {Pressable, View, ViewStyle} from 'react-native' +import Animated, {LinearTransition} from 'react-native-reanimated' import {HITSLOP_10} from 'lib/constants' import { @@ -244,6 +245,7 @@ export function LabelText({ @@ -344,10 +346,10 @@ export function Checkbox() { style={[ a.justify_center, a.align_center, - a.border, a.rounded_xs, t.atoms.border_contrast_high, { + borderWidth: 1, height: 20, width: 20, }, @@ -375,34 +377,35 @@ export function Switch() { - @@ -428,10 +431,10 @@ export function Radio() { style={[ a.justify_center, a.align_center, - a.border, a.rounded_full, t.atoms.border_contrast_high, { + borderWidth: 1, height: 20, width: 20, },