diff --git a/apps/mobile/app/components/sheets/export-notes/index.tsx b/apps/mobile/app/components/sheets/export-notes/index.tsx index 1153df7b3..0853f4217 100644 --- a/apps/mobile/app/components/sheets/export-notes/index.tsx +++ b/apps/mobile/app/components/sheets/export-notes/index.tsx @@ -19,7 +19,13 @@ along with this program. If not, see . import { useThemeColors } from "@notesnook/theme"; import React, { Fragment, useState } from "react"; -import { ActivityIndicator, Platform, StyleSheet, View } from "react-native"; +import { + ActivityIndicator, + Linking, + Platform, + StyleSheet, + View +} from "react-native"; import FileViewer from "react-native-file-viewer"; import Share from "react-native-share"; import Icon from "react-native-vector-icons/MaterialCommunityIcons"; @@ -29,14 +35,12 @@ import { requestInAppReview } from "../../../services/app-review"; import { PresentSheetOptions, ToastManager, - eSendEvent, presentSheet } from "../../../services/event-manager"; import Exporter from "../../../services/exporter"; import PremiumService from "../../../services/premium"; import { useUserStore } from "../../../stores/use-user-store"; import { getElevationStyle } from "../../../utils/elevation"; -import { eCloseSheet } from "../../../utils/events"; import { SIZE, ph, pv } from "../../../utils/size"; import { sleep } from "../../../utils/time"; import { Dialog } from "../../dialog"; @@ -65,6 +69,7 @@ const ExportNotesSheet = ({ filePath: string; name: string; type: string; + fileDir: string; } | undefined >(); @@ -295,7 +300,9 @@ const ExportNotesSheet = ({ successfully as {result?.fileName}