Skip to content

Commit 43b5802

Browse files
small animation fix
1 parent 4ce80c1 commit 43b5802

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/core-mobile/app/new/common/components/WalletCard.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import {
2+
ANIMATED,
23
Icons,
34
Text,
45
TouchableOpacity,
@@ -111,7 +112,8 @@ const WalletCard = ({
111112
const animatedContentStyle = useAnimatedStyle(() => {
112113
return {
113114
minHeight: withTiming(
114-
isExpanded ? contentHeight + HEADER_HEIGHT * 2 : HEADER_HEIGHT
115+
isExpanded ? contentHeight + HEADER_HEIGHT * 2 : HEADER_HEIGHT,
116+
ANIMATED.TIMING_CONFIG
115117
)
116118
}
117119
})

0 commit comments

Comments
 (0)