diff --git a/phone/src/apps/notes/NotesTitle.tsx b/phone/src/apps/notes/DocumentsTitle.tsx
similarity index 73%
rename from phone/src/apps/notes/NotesTitle.tsx
rename to phone/src/apps/notes/DocumentsTitle.tsx
index 9f020a6..cdf6180 100644
--- a/phone/src/apps/notes/NotesTitle.tsx
+++ b/phone/src/apps/notes/DocumentsTitle.tsx
@@ -1,8 +1,7 @@
import React from 'react';
import { makeStyles, Paper } from '@material-ui/core';
-import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
-import { faStickyNote } from '@fortawesome/free-solid-svg-icons';
+import FolderIcon from '@material-ui/icons/Folder';
const useStyles = makeStyles((theme) => ({
header: {
@@ -24,7 +23,7 @@ const NotesTitle = () => {
const classes = useStyles();
return (
-
+
);
};
diff --git a/phone/src/apps/notes/NotesApp.tsx b/phone/src/apps/notes/NotesApp.tsx
deleted file mode 100644
index 33cb48e..0000000
--- a/phone/src/apps/notes/NotesApp.tsx
+++ /dev/null
@@ -1,60 +0,0 @@
-import React from 'react';
-import { AppWrapper } from '../../ui/components/AppWrapper';
-import { AppContent } from '../../ui/components/AppContent';
-import { AppTitle } from '../../ui/components/AppTitle';
-import { useApp } from '../../os/apps/hooks/useApps';
-import NoteList from './list/NoteList';
-import { NoteModal } from './modal/NoteModal';
-import { Fab } from '@material-ui/core';
-import AddIcon from '@material-ui/icons/Add';
-import { useNoteDetail } from './hooks/useNoteDetail';
-import useStyles from './notes.styles';
-import InjectDebugData from '../../os/debug/InjectDebugData';
-import { NotesThemeProvider } from './providers/NotesThemeProvider';
-import { Route, useHistory } from 'react-router-dom';
-
-export const NotesApp = () => {
- const classes = useStyles();
- const history = useHistory();
- const notesApp = useApp('NOTES');
- const { setDetail } = useNoteDetail();
-
- const onClickCreate = () => {
- setDetail({ title: '', content: '' });
- history.push('/notes/detail');
- };
-
- return (
-
-
-
-
-
-
-
-
-
-
-
-
- );
-};
-
-InjectDebugData([
- {
- app: 'NOTES',
- method: 'setNotes',
- data: [
- {
- id: 1,
- title: 'First note',
- content: 'Hello, this is my shitty note',
- },
- {
- id: 2,
- title: 'Second note',
- content: 'Hello, this is another shitty note',
- },
- ],
- },
-]);
diff --git a/phone/src/apps/notes/modal/NoteModal.tsx b/phone/src/apps/notes/modal/NoteModal.tsx
index 19d0b85..f0abe42 100644
--- a/phone/src/apps/notes/modal/NoteModal.tsx
+++ b/phone/src/apps/notes/modal/NoteModal.tsx
@@ -66,7 +66,7 @@ export const NoteModal = () => {
startIcon={}
onClick={_handleClose}
>
- {t('APPS_NOTES')}
+ {t('APPS_DOCUMENTS_NOTES_TITLE')}