From 2a6ae7148f201754e6e83bcb3ebd40c468fd3100 Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Fri, 31 Dec 2021 09:07:41 +0500 Subject: [PATCH] change initial scale of bouncing view --- apps/mobile/src/components/Transitions/bouncingview.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/mobile/src/components/Transitions/bouncingview.js b/apps/mobile/src/components/Transitions/bouncingview.js index 08fbf5994..b1f6a1956 100644 --- a/apps/mobile/src/components/Transitions/bouncingview.js +++ b/apps/mobile/src/components/Transitions/bouncingview.js @@ -1,4 +1,4 @@ -import React, {useEffect} from 'react'; +import React, {useEffect, useState} from 'react'; import Animated, {Easing, timing} from 'react-native-reanimated'; export const BouncingView = ({ @@ -6,7 +6,7 @@ export const BouncingView = ({ style, duration = 600, animated = true, - initialScale = 0.9 + initialScale = 0.8 }) => { const scale = Animated.useValue(!animated ? 1 : initialScale);