mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
refactor
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
import React from 'react';
|
||||
import {Modal, DeviceEventEmitter, View, TouchableOpacity} from 'react-native';
|
||||
import {Modal, TouchableOpacity, View} from 'react-native';
|
||||
import * as Animatable from 'react-native-animatable';
|
||||
import {createAppContainer} from 'react-navigation';
|
||||
import {createStackNavigator} from 'react-navigation-stack';
|
||||
import {ACTIONS} from '../../provider/actions';
|
||||
import * as Animatable from 'react-native-animatable';
|
||||
import Login from '../../views/Login';
|
||||
import Signup from '../../views/Signup';
|
||||
import ForgotPassword from '../../views/ForgotPassword';
|
||||
import {DDS} from '../../../App';
|
||||
import {getElevation, w} from '../../utils/utils';
|
||||
import {normalize} from '../../common/common';
|
||||
import {ACTIONS} from '../../provider/actions';
|
||||
import {eSendEvent} from '../../services/eventManager';
|
||||
import {eLoginDialogNavigateBack} from '../../services/events';
|
||||
import {normalize} from '../../common/common';
|
||||
import {getElevation} from '../../utils/utils';
|
||||
import ForgotPassword from '../../views/ForgotPassword';
|
||||
import Login from '../../views/Login';
|
||||
import Signup from '../../views/Signup';
|
||||
import {updateEvent} from '../DialogManager/recievers';
|
||||
|
||||
const fade = props => {
|
||||
|
||||
@@ -1,17 +1,16 @@
|
||||
import React from 'react';
|
||||
import {Modal, DeviceEventEmitter, View, TouchableOpacity} from 'react-native';
|
||||
import {Modal, TouchableOpacity, View} from 'react-native';
|
||||
import * as Animatable from 'react-native-animatable';
|
||||
import {createAppContainer} from 'react-navigation';
|
||||
import {createStackNavigator} from 'react-navigation-stack';
|
||||
import {DDS} from '../../../App';
|
||||
import {ACTIONS} from '../../provider/actions';
|
||||
import {eSendEvent} from '../../services/eventManager';
|
||||
import {eMoveNoteDialogNavigateBack} from '../../services/events';
|
||||
import {getElevation} from '../../utils/utils';
|
||||
import Folders from '../../views/Folders';
|
||||
import Notebook from '../../views/Notebook';
|
||||
import Notes from '../../views/Notes';
|
||||
|
||||
import * as Animatable from 'react-native-animatable';
|
||||
import {DDS} from '../../../App';
|
||||
import {getElevation} from '../../utils/utils';
|
||||
import {eSendEvent} from '../../services/eventManager';
|
||||
import {eMoveNoteDialogNavigateBack} from '../../services/events';
|
||||
import {updateEvent} from '../DialogManager/recievers';
|
||||
|
||||
const fade = props => {
|
||||
|
||||
@@ -1,34 +1,34 @@
|
||||
import React, {useEffect} from 'react';
|
||||
import React from 'react';
|
||||
import {
|
||||
Platform,
|
||||
ScrollView,
|
||||
StatusBar,
|
||||
Text,
|
||||
TouchableOpacity,
|
||||
View,
|
||||
ScrollView,
|
||||
StatusBar,
|
||||
Platform,
|
||||
} from 'react-native';
|
||||
import MMKV from 'react-native-mmkv-storage';
|
||||
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
|
||||
import {DDS} from '../../../App';
|
||||
import {
|
||||
opacity,
|
||||
pv,
|
||||
SIZE,
|
||||
WEIGHT,
|
||||
ACCENT,
|
||||
COLOR_SCHEME,
|
||||
COLOR_SCHEME_DARK,
|
||||
COLOR_SCHEME_LIGHT,
|
||||
opacity,
|
||||
pv,
|
||||
setColorScheme,
|
||||
SIZE,
|
||||
WEIGHT,
|
||||
} from '../../common/common';
|
||||
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
|
||||
import Container from '../../components/Container';
|
||||
import {updateEvent} from '../../components/DialogManager/recievers';
|
||||
import {useTracked} from '../../provider';
|
||||
import {w, hexToRGBA, getElevation} from '../../utils/utils';
|
||||
import {ACTIONS} from '../../provider/actions';
|
||||
import MMKV from 'react-native-mmkv-storage';
|
||||
import {DDS} from '../../../App';
|
||||
import {eSendEvent} from '../../services/eventManager';
|
||||
import {eOpenLoginDialog} from '../../services/events';
|
||||
import NavigationService from '../../services/NavigationService';
|
||||
import {updateEvent} from '../../components/DialogManager/recievers';
|
||||
import {hexToRGBA, w} from '../../utils/utils';
|
||||
|
||||
export async function setSetting(settings, name, value) {
|
||||
let s = {...settings};
|
||||
|
||||
Reference in New Issue
Block a user