Skip to content

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

ui fixes

ammarahm-edbac223789f12
diff --git a/apps/mobile/src/common/common.js b/apps/mobile/src/common/common.js
index b65be02d3..ebce80df4 100755
--- a/apps/mobile/src/common/common.js
+++ b/apps/mobile/src/common/common.js
@@ -1,4 +1,4 @@
-import {Platform, StatusBar, Dimensions, PixelRatio} from 'react-native';
+import {Dimensions, PixelRatio, StatusBar} from 'react-native';
import FastStorage from 'react-native-fast-storage';
import {
eSendEvent,
@@ -6,7 +6,6 @@ import {
eUnSubscribeEvent,
} from '../services/eventManager';
import {eThemeUpdated} from '../services/events';
-import {DDS} from '../../App';
const {height, width} = Dimensions.get('window');
const standardLength = width > height ? width : height;
diff --git a/apps/mobile/src/views/Editor/index.js b/apps/mobile/src/views/Editor/index.js
index 9b105a323..2859f8b7c 100755
--- a/apps/mobile/src/views/Editor/index.js
+++ b/apps/mobile/src/views/Editor/index.js
@@ -290,14 +290,13 @@ const Editor = ({navigation, noMenu}) => {
post('clear');
} else if (note.content.delta) {
let delta;
- console.log('HERE', note.content.delta);
if (note.content.delta !== note.id + '_delta') {
delta = note.content.delta;
} else {
delta = await db.notes.note(id).delta();
}
- console.log('HERE', delta);
+
post(JSON.stringify(delta));
} else {
post(JSON.stringify({type: 'text', value: note.content.text}));