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