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
hide loader in editor
ammarahm-ed8a4006b657dc
diff --git a/apps/mobile/src/views/Editor/index.js b/apps/mobile/src/views/Editor/index.jsindex cecc79937..2a13a9697 100755--- a/apps/mobile/src/views/Editor/index.js+++ b/apps/mobile/src/views/Editor/index.js@@ -50,7 +50,7 @@ const Editor = React.memo(setResetting(true);await sleep(10);setResetting(false);- await sleep(1000);+ await sleep(10);setLocalLoading(false);};@@ -62,15 +62,8 @@ const Editor = React.memo(};}, []);- return resetting ? (- <Loading- tagline={resetting ? 'Reloading Editor' : 'Loading Editor'}- height="100%"- />- ) : (+ return resetting || localLoading ? null : (<>- {localLoading && <Loading tagline="Loading Editor" height="100%" />}-<TextInputref={textInput}style={{height: 1, padding: 0, width: 1, position: 'absolute'}}@@ -88,7 +81,6 @@ const Editor = React.memo(height: '100%',width: '100%',}}-nestedScrollEnabledcontentContainerStyle={{width: '100%',@@ -120,6 +112,7 @@ const Editor = React.memo(originWhitelist={['*']}source={source}style={style}+ autoManageStatusBarEnabled={false}onMessage={_onMessage}/></ScrollView>