diff --git a/src/components/Animations/AnimatedBottomBar.tsx b/src/components/Animations/AnimatedBottomBar.tsx index 91bd2c4..a334bd3 100644 --- a/src/components/Animations/AnimatedBottomBar.tsx +++ b/src/components/Animations/AnimatedBottomBar.tsx @@ -30,8 +30,6 @@ import { StackNavigationProp } from '@react-navigation/stack'; import AutoHideHandler from '../../utils/AutoHideHandler'; import { TAB_BAR_HEIGHT } from '../Tabbar/CustomTabBar'; -const AnimatedFAB = Animatable.createAnimatableComponent(FAB); - type PropsType = { navigation: StackNavigationProp; theme: ReactNativePaper.Theme; @@ -164,16 +162,19 @@ class AnimatedBottomBar extends React.Component { > - props.navigation.navigate('group-select')} - /> + animation={props.seekAttention ? 'bounce' : undefined} + easing={'ease-out'} + iterationDelay={500} + iterationCount={'infinite'} + useNativeDriver={true} + > + props.navigation.navigate('group-select')} + /> +