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
move GetPremium item away from screen
ammarahm-ed5c43ba812080
diff --git a/apps/mobile/src/components/ActionSheetComponent/GetPremium.js b/apps/mobile/src/components/ActionSheetComponent/GetPremium.jsindex 85fae9124..d9d81bc2f 100644--- a/apps/mobile/src/components/ActionSheetComponent/GetPremium.js+++ b/apps/mobile/src/components/ActionSheetComponent/GetPremium.js@@ -16,7 +16,7 @@ import {Button} from '../Button';import Heading from '../Typography/Heading';import Paragraph from '../Typography/Paragraph';-export const translatePrem = new Animated.Value(-dWidth * 2);+export const translatePrem = new Animated.Value(-dWidth * 5);export const GetPremium = ({close, context = 'global', offset = 0}) => {const [state, dispatch] = useTracked();@@ -44,7 +44,7 @@ export const GetPremium = ({close, context = 'global', offset = 0}) => {easing: Easing.inOut(Easing.ease),}).start();await sleep(200);- translatePrem.setValue(-dWidth * 2);+ translatePrem.setValue(-dWidth * 5);}, 5000);}};@@ -52,7 +52,7 @@ export const GetPremium = ({close, context = 'global', offset = 0}) => {useEffect(() => {eSubscribeEvent(eShowGetPremium, open);return () => {- translatePrem.setValue(-dWidth * 2);+ translatePrem.setValue(-dWidth * 5);eUnSubscribeEvent(eShowGetPremium, open);};}, []);@@ -97,7 +97,7 @@ export const GetPremium = ({close, context = 'global', offset = 0}) => {<ButtononPress={async () => {close();- translatePrem.setValue(-800);+ translatePrem.setValue(-dWidth * 5);await sleep(Platform.OS === 'ios' ? 300 : 50);eSendEvent(eOpenPremiumDialog);}}