Skip to content

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

refactor

ammarahm-ed14ce6c1e4c43
diff --git a/apps/mobile/App.js b/apps/mobile/App.js
index 82f118251..b403e6cf4 100644
--- a/apps/mobile/App.js
+++ b/apps/mobile/App.js
@@ -15,7 +15,6 @@ const App = () => {
const [state, dispatch] = useTracked();
const [init, setInit] = useState(false);
const I = DDS.isTab ? require('./index.tablet') : require('./index.mobile');
- console.log(DDS.isTab, 'TABLET');
const _onOrientationChange = o => {
// Currently orientation is locked on tablet.
/* DDS.checkOrientation();
diff --git a/apps/mobile/src/services/Navigator.js b/apps/mobile/src/services/Navigator.js
index f91e19751..f9d04a703 100644
--- a/apps/mobile/src/services/Navigator.js
+++ b/apps/mobile/src/services/Navigator.js
@@ -18,9 +18,7 @@ import {createStackNavigator} from 'react-navigation-stack';
import {Animated} from 'react-native';
const fade = props => {
const {position, scene} = props;
-
const index = scene.index;
-
const translateX = 0;
const translateY = 0;
diff --git a/apps/mobile/src/views/Settings/index.js b/apps/mobile/src/views/Settings/index.js
index 2a77845b5..a36c16747 100644
--- a/apps/mobile/src/views/Settings/index.js
+++ b/apps/mobile/src/views/Settings/index.js
@@ -481,7 +481,7 @@ export const Settings = ({navigation}) => {
/>
</TouchableOpacity>
) : null}
-
+ {/*
<Text
style={{
fontSize: SIZE.xs,
@@ -569,6 +569,8 @@ export const Settings = ({navigation}) => {
/>
</TouchableOpacity>
+ */}
+
<Text
style={{
fontSize: SIZE.xs,