diff --git a/packages/mobile/src/components/ConnectionProcess/ConnectionProcess.component.tsx b/packages/mobile/src/components/ConnectionProcess/ConnectionProcess.component.tsx index 042cb6826c..0d5db284b1 100644 --- a/packages/mobile/src/components/ConnectionProcess/ConnectionProcess.component.tsx +++ b/packages/mobile/src/components/ConnectionProcess/ConnectionProcess.component.tsx @@ -1,5 +1,5 @@ import React, { FC, useRef, useEffect } from 'react' -import { View, TouchableWithoutFeedback, Animated, Easing, Platform } from 'react-native' +import { View, TouchableWithoutFeedback, Animated, Easing, Platform, Image } from 'react-native' import { defaultPalette } from '../../styles/palettes/default.palette' import { Typography } from '../Typography/Typography.component' import { ConnectionProcessComponentProps } from './ConnectionProcess.types' @@ -7,23 +7,23 @@ import JoinCommunityImg from '../../../assets/icons/join-community.png' import { Site } from '@quiet/common' const ConnectionProcessComponent: FC = ({ connectionProcess, openUrl }) => { - const animationValue = useRef(new Animated.Value(0)).current + // const animationValue = useRef(new Animated.Value(0)).current - useEffect(() => { - Animated.loop( - Animated.timing(animationValue, { - toValue: 1, - duration: 7000, - easing: Easing.linear, - useNativeDriver: true, - }) - ).start() - }, []) + // useEffect(() => { + // Animated.loop( + // Animated.timing(animationValue, { + // toValue: 1, + // duration: 7000, + // easing: Easing.linear, + // useNativeDriver: true, + // }) + // ).start() + // }, []) - const transformValues = animationValue.interpolate({ - inputRange: [0, 1], - outputRange: ['0deg', '360deg'], - }) + // const transformValues = animationValue.interpolate({ + // inputRange: [0, 1], + // outputRange: ['0deg', '360deg'], + // }) return ( @@ -38,9 +38,17 @@ const ConnectionProcessComponent: FC = ({ conne width: '100%', }} > - */} + +