Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: remove icon animation

Ammar Ahmed54f94f44c054
diff --git a/apps/mobile/app/components/ui/icon-button/index.tsx b/apps/mobile/app/components/ui/icon-button/index.tsx
index cc3274fb8..76d6f40b7 100644
--- a/apps/mobile/app/components/ui/icon-button/index.tsx
+++ b/apps/mobile/app/components/ui/icon-button/index.tsx
@@ -40,7 +40,6 @@ interface IconButtonProps extends PressableButtonProps {
iconStyle?: TextStyle;
}
-const AnimatedIcon = Animated.createAnimatedComponent(Icon);
export const IconButton = ({
onPress,
name,
@@ -88,8 +87,7 @@ export const IconButton = ({
...customStyle
}}
>
- <AnimatedIcon
- layout={Layout}
+ <Icon
name={name}
style={iconStyle as any}
allowFontScaling