Skip to content

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

minor cleanup

ammarahm-edbf630f4ad81b
diff --git a/apps/mobile/src/components/Button/index.js b/apps/mobile/src/components/Button/index.js
index cde7c717c..6f74c02ca 100644
--- a/apps/mobile/src/components/Button/index.js
+++ b/apps/mobile/src/components/Button/index.js
@@ -1,9 +1,9 @@
import React from 'react';
-import {ActivityIndicator, StyleSheet, Text} from 'react-native';
-import {ph, pv, SIZE, WEIGHT} from '../../common/common';
-import {useTracked} from '../../provider';
-import {PressableButton} from '../PressableButton';
+import { ActivityIndicator, StyleSheet, Text } from 'react-native';
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
+import { ph, pv, SIZE, WEIGHT } from '../../common/common';
+import { useTracked } from '../../provider';
+import { PressableButton } from '../PressableButton';
export const Button = ({
height = 40,
diff --git a/apps/mobile/src/components/NotebookItem/index.js b/apps/mobile/src/components/NotebookItem/index.js
index fb6b0defd..3bcb2a0c6 100644
--- a/apps/mobile/src/components/NotebookItem/index.js
+++ b/apps/mobile/src/components/NotebookItem/index.js
@@ -1,13 +1,13 @@
import React from 'react';
-import {Text, TouchableOpacity, View} from 'react-native';
+import { Text, TouchableOpacity, View } from 'react-native';
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
-import {opacity, ph, pv, SIZE, WEIGHT} from '../../common/common';
-import {useTracked} from '../../provider';
-import {ACTIONS} from '../../provider/actions';
+import { ph, pv, SIZE, WEIGHT } from '../../common/common';
+import { useTracked } from '../../provider';
+import { ACTIONS } from '../../provider/actions';
import NavigationService from '../../services/NavigationService';
-import {db, ToastEvent} from '../../utils/utils';
-import {ActionSheetEvent, moveNoteHideEvent} from '../DialogManager/recievers';
-import {Button} from '../Button';
+import { db, ToastEvent } from '../../utils/utils';
+import { Button } from '../Button';
+import { ActionSheetEvent, moveNoteHideEvent } from '../DialogManager/recievers';
export const NotebookItem = ({
item,
diff --git a/apps/mobile/src/components/Premium/PremiumDialog.js b/apps/mobile/src/components/Premium/PremiumDialog.js
index c0334ba41..5d4153492 100644
--- a/apps/mobile/src/components/Premium/PremiumDialog.js
+++ b/apps/mobile/src/components/Premium/PremiumDialog.js
@@ -1,12 +1,11 @@
import React from 'react';
-import {Modal, TouchableOpacity, View, Text, FlatList} from 'react-native';
+import {FlatList, Modal, Text, TouchableOpacity, View} from 'react-native';
import * as Animatable from 'react-native-animatable';
-import {DDS, getElevation} from '../../utils/utils';
-import {SIZE, WEIGHT, opacity, pv} from '../../common/common';
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
-import NavigationService from '../../services/NavigationService';
+import {opacity, pv, SIZE, WEIGHT} from '../../common/common';
import {eSendEvent} from '../../services/eventManager';
import {eCloseSideMenu} from '../../services/events';
+import NavigationService from '../../services/NavigationService';
import {Button} from '../Button';
import Seperator from '../Seperator';
@@ -14,7 +13,7 @@ class PremiumDialog extends React.Component {
constructor(props) {
super(props);
this.state = {
- visible: true,
+ visible: false,
animated: false,
};
this.routeIndex = 0;
diff --git a/apps/mobile/src/components/Seperator/index.js b/apps/mobile/src/components/Seperator/index.js
index 1b8147484..c1454a904 100644
--- a/apps/mobile/src/components/Seperator/index.js
+++ b/apps/mobile/src/components/Seperator/index.js
@@ -1,5 +1,5 @@
import React from 'react';
-import { View } from 'react-native';
+import { View} from 'react-native';
const Seperator = ({half = false}) => {
return (
@@ -12,4 +12,4 @@ const Seperator = ({half = false}) => {
);
};
-export default Seperator
+export default Seperator
\ No newline at end of file