Skip to content

Commit

Permalink
mobile: remove icon animation
Browse files Browse the repository at this point in the history
  • Loading branch information
ammarahm-ed committed Sep 25, 2023
1 parent 57cf0e2 commit 54f94f4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/mobile/app/components/ui/icon-button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ interface IconButtonProps extends PressableButtonProps {
iconStyle?: TextStyle;
}

const AnimatedIcon = Animated.createAnimatedComponent(Icon);
export const IconButton = ({
onPress,
name,
Expand Down Expand Up @@ -88,8 +87,7 @@ export const IconButton = ({
...customStyle
}}
>
<AnimatedIcon
layout={Layout}
<Icon
name={name}
style={iconStyle as any}
allowFontScaling
Expand Down

0 comments on commit 54f94f4

Please sign in to comment.