A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix imports
ammarahm-ed6acdeb32e1bb
diff --git a/apps/mobile/src/components/Announcements/cta.js b/apps/mobile/src/components/Announcements/cta.jsindex f7836ec67..bd2a10900 100644--- a/apps/mobile/src/components/Announcements/cta.js+++ b/apps/mobile/src/components/Announcements/cta.js@@ -6,7 +6,7 @@ import { eCloseAnnouncementDialog, eOpenPremiumDialog } from '../../utils/Eventsimport { openLinkInBrowser } from '../../utils/functions';import { SIZE } from '../../utils/SizeUtils';import { sleep } from '../../utils/TimeUtils';-import { SettingsBackupAndRestore } from '../../views/Settings';+import SettingsBackupAndRestore from '../../views/Settings/backup-restore';import { Button } from '../Button';import { allowedOnPlatform, getStyle } from './functions';diff --git a/apps/mobile/src/components/AppLoader/index.js b/apps/mobile/src/components/AppLoader/index.jsindex 29f9421c3..397819e03 100644--- a/apps/mobile/src/components/AppLoader/index.js+++ b/apps/mobile/src/components/AppLoader/index.js@@ -28,7 +28,7 @@ import {MMKV} from '../../utils/mmkv';import {tabBarRef} from '../../utils/Refs';import {SIZE} from '../../utils/SizeUtils';import {sleep} from '../../utils/TimeUtils';-import {SettingsBackupAndRestore} from '../../views/Settings';+import SettingsBackupAndRestore from '../../views/Settings/backup-restore';import {Button} from '../Button';import Input from '../Input';import Seperator from '../Seperator';diff --git a/apps/mobile/src/views/Settings/index.js b/apps/mobile/src/views/Settings/index.jsindex e755f80e5..e9d699ed8 100644--- a/apps/mobile/src/views/Settings/index.js+++ b/apps/mobile/src/views/Settings/index.js@@ -1,33 +1,25 @@-import React, { useCallback, useEffect, useState } from 'react';-import {- Linking,- Platform,- ScrollView, View-} from 'react-native';-import { Button as MButton } from '../../components/Button/index';-import { ContainerTopSection } from '../../components/Container/ContainerTopSection';-import { Header as TopHeader } from '../../components/Header/index';+import React, {useCallback, useEffect, useState} from 'react';+import {Linking, Platform, ScrollView, View} from 'react-native';+import {Button as MButton} from '../../components/Button/index';+import {ContainerTopSection} from '../../components/Container/ContainerTopSection';+import {Issue} from '../../components/Github/issue';+import {Header as TopHeader} from '../../components/Header/index';import Seperator from '../../components/Seperator';import Paragraph from '../../components/Typography/Paragraph';-import { useTracked } from '../../provider';+import {useTracked} from '../../provider';import {- eSendEvent, presentSheet,+ eSendEvent,+ presentSheet,ToastEvent} from '../../services/EventManager';import Navigation from '../../services/Navigation';-import {- APP_VERSION,- InteractionManager-} from '../../utils';-import { db } from '../../utils/database';-import {- eScrollEvent,- eUpdateSearchState-} from '../../utils/Events';-import { openLinkInBrowser } from '../../utils/functions';+import {APP_VERSION, InteractionManager} from '../../utils';+import {db} from '../../utils/database';+import {eScrollEvent, eUpdateSearchState} from '../../utils/Events';+import {openLinkInBrowser} from '../../utils/functions';import SettingsAppearanceSection from './appearance';import SettingsBackupAndRestore from './backup-restore';-import { CustomButton } from './button';+import {CustomButton} from './button';import SettingsDeveloperOptions from './developeroptions';import SettingsGeneralOptions from './general';import AccoutLogoutSection from './logout';@@ -136,14 +128,14 @@ export const Settings = ({navigation}) => {{name: `Report an issue`,func: async () => {- Linking.openURL('github.com/streetwriters/notesnook/issues').catch(+ /* Linking.openURL('github.com/streetwriters/notesnook/issues').catch(console.log- );+ ); */- /* presentSheet({- noIcon:true,- component:<Issue/>- }); */+ presentSheet({+ noIcon: true,+ component: <Issue />+ });},desc: `Facing an issue? Report it on our Github`},