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
cleanup
ammarahm-edebf372fcdafe
diff --git a/apps/mobile/src/views/Editor/index.js b/apps/mobile/src/views/Editor/index.jsindex c299c5d5c..9d446996e 100755--- a/apps/mobile/src/views/Editor/index.js+++ b/apps/mobile/src/views/Editor/index.js@@ -50,7 +50,6 @@ import {} from './Functions';import {normalize} from '../../utils/SizeUtils';import {DDS} from '../../services/DeviceDetection';-import {sleep} from '../../utils/TimeUtils';let handleBack;let tapCount = 0;@@ -113,9 +112,7 @@ const Editor = ({noMenu}) => {console.log('loading new note');await loadNote(item);if (item.type === 'new') {- await sleep(500);textInput.current?.focus();- await sleep(300);post('focusTitle');Platform.OS === 'android' ? EditorWebView.current?.requestFocus() : null;}@@ -186,7 +183,11 @@ const Editor = ({noMenu}) => {flexDirection: 'row',justifyContent: 'space-between',}}>- <TextInput ref={textInput} style={{height: 1,padding:0,width:1,position:"absolute"}} blurOnSubmit={false} />+ <TextInput+ ref={textInput}+ style={{height: 1, padding: 0, width: 1, position: 'absolute'}}+ blurOnSubmit={false}+ /><KeyboardAvoidingViewbehavior={Platform.OS === 'ios' ? 'padding' : null}style={{