A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
update bouncing view
ammarahm-edb0ef2e49e77f
diff --git a/apps/mobile/src/components/ActionSheetComponent/BouncingView.js b/apps/mobile/src/components/ActionSheetComponent/BouncingView.jsindex d2cddfc81..08fbf5994 100644--- a/apps/mobile/src/components/ActionSheetComponent/BouncingView.js+++ b/apps/mobile/src/components/ActionSheetComponent/BouncingView.js@@ -5,13 +5,14 @@ export const BouncingView = ({children,style,duration = 600,- animated = true+ animated = true,+ initialScale = 0.9}) => {- const scale = Animated.useValue(!animated ? 1 : 0.9);+ const scale = Animated.useValue(!animated ? 1 : initialScale);useEffect(() => {if (!animated) return;- scale.setValue(0.9);+ scale.setValue(initialScale);timing(scale, {toValue: 1,duration: duration,@@ -19,7 +20,7 @@ export const BouncingView = ({}).start();return () => {if (!animated) return;- scale.setValue(0.9);+ scale.setValue(initialScale);};}, []);