Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

reduce save note timer

ammarahm-edf81ad5c9b425
diff --git a/apps/mobile/src/views/Editor/index.js b/apps/mobile/src/views/Editor/index.js
index 914639034..f6885f0ea 100755
--- a/apps/mobile/src/views/Editor/index.js
+++ b/apps/mobile/src/views/Editor/index.js
@@ -4,12 +4,11 @@ import {
KeyboardAvoidingView,
Linking,
Platform,
+ SafeAreaView,
StatusBar,
Text,
TouchableOpacity,
View,
- SafeAreaView,
- Keyboard,
} from 'react-native';
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
import WebView from 'react-native-webview';
@@ -41,7 +40,6 @@ import {
timeConverter,
ToastEvent,
} from '../../utils/utils';
-import {TabRouter} from 'react-navigation';
const EditorWebView = createRef();
let note = {};
@@ -151,7 +149,7 @@ const Editor = ({navigation, noMenu}) => {
onChange(evt.nativeEvent.data);
timer = setTimeout(() => {
saveNote.call(this, true);
- }, 1000);
+ }, 500);
}
};