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
add a root view
ammarahm-ed7f61e8e7d85d
diff --git a/apps/mobile/RootView.js b/apps/mobile/RootView.jsindex d34534160..5157cdc64 100644--- a/apps/mobile/RootView.js+++ b/apps/mobile/RootView.js@@ -156,47 +156,60 @@ const AppStack = React.memo(};return (- <ScrollableTabView- ref={tabBarRef}- prerenderingSiblingsNumber={Infinity}- onChangeTab={onChangeTab}- renderTabBar={() => <></>}>- {!mode && (- <View- style={{- width: '100%',- height: '100%',- flexDirection: 'row',- backgroundColor: colors.bg,- }}- />- )}- {mode && mode !== 'tablet' && (- <NavigationStack component={NavigatorStack} />- )}+ <><Viewstyle={{- width: '100%',- height: '100%',- flexDirection: 'row',+ position: 'absolute',+ width: '400%',+ height: '400%',backgroundColor: colors.bg,}}- onLayout={_onLayout}>- {mode && mode === 'tablet' && (+ />+ <ScrollableTabView+ ref={tabBarRef}+ style={{+ zIndex:2+ }}+ prerenderingSiblingsNumber={Infinity}+ onChangeTab={onChangeTab}+ renderTabBar={() => <></>}>+ {!mode && (<Viewstyle={{- width: dimensions.width * 0.45,+ width: '100%',height: '100%',- borderRightColor: colors.nav,- borderRightWidth: 1,- }}>- <NavigationStack component={NavigatorStack} />- </View>+ flexDirection: 'row',+ backgroundColor: colors.bg,+ }}+ />)}+ {mode && mode !== 'tablet' && (+ <NavigationStack component={NavigatorStack} />+ )}+ <View+ style={{+ width: '100%',+ height: '100%',+ flexDirection: 'row',+ backgroundColor: colors.bg,+ }}+ onLayout={_onLayout}>+ {mode && mode === 'tablet' && (+ <View+ style={{+ width: dimensions.width * 0.45,+ height: '100%',+ borderRightColor: colors.nav,+ borderRightWidth: 1,+ }}>+ <NavigationStack component={NavigatorStack} />+ </View>+ )}- <EditorWrapper dimensions={dimensions} passRef={editorRef} />- </View>- </ScrollableTabView>+ <EditorWrapper dimensions={dimensions} passRef={editorRef} />+ </View>+ </ScrollableTabView>+ </>);},() => true,