Skip to content

Commit

Permalink
style: made drawer close slower for improved effect
Browse files Browse the repository at this point in the history
  • Loading branch information
Vali-98 committed Jul 16, 2024
1 parent 6c1f95f commit 7f4405f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/ChatMenu/SettingsDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ const SettingsDrawer: React.FC<SettingsDrawerProps> = ({ booleans: [showModal, s
return (
<View style={styles.absolute}>
<Animated.View
entering={FadeIn.duration(200)}
exiting={FadeOut.duration(200)}
entering={FadeIn.duration(300)}
exiting={FadeOut.duration(500)}
style={styles.absolute}>
<TouchableOpacity
activeOpacity={1}
Expand All @@ -164,7 +164,7 @@ const SettingsDrawer: React.FC<SettingsDrawerProps> = ({ booleans: [showModal, s
elevation: 20,
}}
entering={SlideInLeft.duration(300).easing(Easing.out(Easing.quad))}
exiting={SlideOutLeft.duration(300).easing(Easing.out(Easing.quad))}>
exiting={SlideOutLeft.duration(500).easing(Easing.out(Easing.quad))}>
<View style={{ justifyContent: 'space-between', flex: 1 }}>
<View>
<View style={styles.userContainer}>
Expand Down

0 comments on commit 7f4405f

Please sign in to comment.