Skip to content

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

rename component

ammarahm-edf2d621204778
diff --git a/apps/mobile/src/components/SimpleList/index.js b/apps/mobile/src/components/SimpleList/index.js
index 0b41082db..1c19f108b 100644
--- a/apps/mobile/src/components/SimpleList/index.js
+++ b/apps/mobile/src/components/SimpleList/index.js
@@ -1,19 +1,18 @@
-import React, {useEffect, useRef, useState} from 'react';
-import {FlatList, RefreshControl, View} from 'react-native';
-import {useTracked} from '../../provider';
-import {eSendEvent} from '../../services/EventManager';
+import React, { useEffect, useRef, useState } from 'react';
+import { FlatList, RefreshControl, View } from 'react-native';
+import { useTracked } from '../../provider';
+import { eSendEvent } from '../../services/EventManager';
import Sync from '../../services/Sync';
-import {db} from '../../utils/database';
-import {eScrollEvent} from '../../utils/Events';
+import { db } from '../../utils/database';
+import { eScrollEvent } from '../../utils/Events';
import JumpToDialog from '../JumpToDialog';
-import {NotebookWrapper} from '../NotebookItem/wrapper';
-import {NoteWrapper} from '../NoteItem/wrapper';
-import SortDialog from '../SortDialog';
+import { NotebookWrapper } from '../NotebookItem/wrapper';
+import { NoteWrapper } from '../NoteItem/wrapper';
import TagItem from '../TagItem';
-import {Empty} from './empty';
-import {Footer} from './footer';
-import {Header} from './header';
-import {SectionHeader} from './section-header';
+import { Empty } from './empty';
+import { Footer } from './footer';
+import { Header } from './header';
+import { SectionHeader } from './section-header';
let renderItems = {
note: NoteWrapper,
diff --git a/apps/mobile/src/components/SimpleList/sectionheader.js b/apps/mobile/src/components/SimpleList/sectionheader.js
index b6809e955..a2531d1d1 100644
--- a/apps/mobile/src/components/SimpleList/sectionheader.js
+++ b/apps/mobile/src/components/SimpleList/sectionheader.js
@@ -16,7 +16,7 @@ import {eOpenJumpToDialog} from '../../utils/Events';
import {SIZE} from '../../utils/SizeUtils';
import {ActionIcon} from '../ActionIcon';
import {Button} from '../Button';
-import Sort from '../SortDialog';
+import Sort from '../Sort';
import Heading from '../Typography/Heading';
export const SectionHeader = ({item, index, type, color, screen}) => {
diff --git a/apps/mobile/src/components/SortDialog/index.js b/apps/mobile/src/components/Sort/index.js
similarity index 100%
rename from apps/mobile/src/components/SortDialog/index.js
rename to apps/mobile/src/components/Sort/index.js