fix reduced motion

This commit is contained in:
Samuel Newman
2025-01-06 19:31:37 +00:00
parent d6d2b61b3e
commit 94d12a43bd
+2 -1
View File
@@ -133,9 +133,10 @@ function ProfileCard() {
]}> ]}>
<View <View
style={[ style={[
!PlatformInfo.getIsReducedMotionEnabled() && !PlatformInfo.getIsReducedMotionEnabled() && [
a.transition_transform, a.transition_transform,
{transitionDuration: '250ms'}, {transitionDuration: '250ms'},
],
active && { active && {
transform: [{scale: 2 / 3}, {translateX: -22}], transform: [{scale: 2 / 3}, {translateX: -22}],
}, },