Skip to content

Commit

Permalink
fix reduced motion
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzius committed Jan 6, 2025
1 parent a0fdd89 commit 7d15c4a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/view/shell/desktop/LeftNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,10 @@ function ProfileCard() {
]}>
<View
style={[
!PlatformInfo.getIsReducedMotionEnabled() &&
!PlatformInfo.getIsReducedMotionEnabled() && [
a.transition_transform,
{transitionDuration: '250ms'},
{transitionDuration: '250ms'},
],
active && {
transform: [{scale: 2 / 3}, {translateX: -22}],
},
Expand Down

0 comments on commit 7d15c4a

Please sign in to comment.