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
wrap Editor in ScreenContainer
ammarahm-ed9d001bddc679
diff --git a/apps/mobile/index.mobile.js b/apps/mobile/index.mobile.jsindex 95387c197..616eeeff0 100644--- a/apps/mobile/index.mobile.js+++ b/apps/mobile/index.mobile.js@@ -19,8 +19,12 @@ import {eSubscribeEvent, eUnSubscribeEvent} from './src/services/eventManager';import {eOpenSideMenu, eCloseSideMenu} from './src/services/events';import { Toast } from './src/components/Toast';import { DialogManager } from './src/components/DialogManager';+import { Screen, ScreenContainer } from 'react-native-screens';const editorRef = createRef();++const AnimatedScreenContainer = Animated.createAnimatedComponent(ScreenContainer);+export const Initialize = () => {const [state, dispatch] = useTracked();const {colors} = state;@@ -91,7 +95,7 @@ export const Initialize = () => {</View></DrawerLayout>- <Animated.View+ <AnimatedScreenContainerref={editorRef}onResponderTerminationRequest={true}onStartShouldSetResponderCapture={false}@@ -121,8 +125,18 @@ export const Initialize = () => {},],}}>+ <Screen+ active={1}+ style={{+ width:'100%',+ height:'100%'+ }}+ >++<Editor noMenu={false} />- </Animated.View>+ </Screen>+ </AnimatedScreenContainer></Animatable.View><Toast /><DialogManager colors={colors} />