mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-21 22:19:41 +01:00
minor cleanup
This commit is contained in:
@@ -7,10 +7,18 @@ import {RootView} from './initializer.root';
|
|||||||
import {useTracked} from './src/provider';
|
import {useTracked} from './src/provider';
|
||||||
import {Actions} from './src/provider/Actions';
|
import {Actions} from './src/provider/Actions';
|
||||||
import {DDS} from './src/services/DeviceDetection';
|
import {DDS} from './src/services/DeviceDetection';
|
||||||
import {eSendEvent, eSubscribeEvent, eUnSubscribeEvent} from './src/services/EventManager';
|
import {
|
||||||
|
eSendEvent,
|
||||||
|
eSubscribeEvent,
|
||||||
|
eUnSubscribeEvent,
|
||||||
|
} from './src/services/EventManager';
|
||||||
import SettingsService from './src/services/SettingsService';
|
import SettingsService from './src/services/SettingsService';
|
||||||
import {db} from './src/utils/DB';
|
import {db} from './src/utils/DB';
|
||||||
import {eDispatchAction, eOpenSideMenu, refreshNotesPage} from './src/utils/Events';
|
import {
|
||||||
|
eDispatchAction,
|
||||||
|
eOpenSideMenu,
|
||||||
|
refreshNotesPage,
|
||||||
|
} from './src/utils/Events';
|
||||||
import EditorRoot from './src/views/Editor/EditorRoot';
|
import EditorRoot from './src/views/Editor/EditorRoot';
|
||||||
|
|
||||||
const App = () => {
|
const App = () => {
|
||||||
@@ -52,9 +60,7 @@ const App = () => {
|
|||||||
SettingsService.setAppLoaded();
|
SettingsService.setAppLoaded();
|
||||||
});
|
});
|
||||||
eSendEvent(eOpenSideMenu);
|
eSendEvent(eOpenSideMenu);
|
||||||
|
|
||||||
dispatch({type: Actions.ALL});
|
dispatch({type: Actions.ALL});
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ export const DummyText = () => {
|
|||||||
ref={dummyRef}
|
ref={dummyRef}
|
||||||
style={[
|
style={[
|
||||||
{
|
{
|
||||||
//fontFamily: "sans-serif",
|
|
||||||
fontSize: SIZE.sm,
|
fontSize: SIZE.sm,
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
right: -1000,
|
right: -1000,
|
||||||
|
|||||||
@@ -377,7 +377,6 @@ const MoveNoteComponent = ({close, note, setNote}) => {
|
|||||||
borderRadius: 5,
|
borderRadius: 5,
|
||||||
height: 40,
|
height: 40,
|
||||||
fontSize: SIZE.sm,
|
fontSize: SIZE.sm,
|
||||||
//fontFamily: "sans-serif",
|
|
||||||
padding: pv - 2,
|
padding: pv - 2,
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
|
|||||||
Reference in New Issue
Block a user