Skip to content

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

refactor

ammarahm-edb0ecd253f307
diff --git a/apps/mobile/src/views/Editor/index.js b/apps/mobile/src/views/Editor/index.js
index b5af327ae..826e26cdb 100755
--- a/apps/mobile/src/views/Editor/index.js
+++ b/apps/mobile/src/views/Editor/index.js
@@ -44,13 +44,9 @@ const Editor = ({navigation}) => {
const updateDB = () => {};
// Local State
-
- const [dialog, setDialog] = useState(false);
const [isOpen, setOpen] = useState(false);
const [sidebar, setSidebar] = useState(DDS.isTab ? true : false);
- const [vaultDialog, setVaultDialog] = useState(false);
- const [unlock, setUnlock] = useState(false);
- const [visible, setVisible] = useState(false);
+
const [noteProps, setNoteProps] = useState({
tags: [],
locked: false,
@@ -154,7 +150,6 @@ const Editor = ({navigation}) => {
width: '100%',
alignSelf: 'center',
height: 50,
-
marginTop: Platform.OS == 'ios' ? 0 : StatusBar.currentHeight,
}}>
<TouchableOpacity