diff --git a/packages/mobile/metro.config.js b/packages/mobile/metro.config.js index 5716f4b12..22d4ac1fc 100644 --- a/packages/mobile/metro.config.js +++ b/packages/mobile/metro.config.js @@ -19,7 +19,7 @@ module.exports = (async () => { } = await getDefaultConfig() return { - watchFolders: [__dirname, '../icons', '../styles', '../components', '../features', '../encryption', '../filepicker'], + watchFolders: [__dirname, '../icons', '../styles', '../components', '../features', '../encryption', '../filepicker', '../services', '../files'], transformer: { getTransformOptions: async () => ({ transform: { diff --git a/packages/mobile/src/Hooks/useFiles.ts b/packages/mobile/src/Hooks/useFiles.ts index be1b6b382..af9587d8f 100644 --- a/packages/mobile/src/Hooks/useFiles.ts +++ b/packages/mobile/src/Hooks/useFiles.ts @@ -9,7 +9,7 @@ import { UploadedFileItemActionType, } from '@Root/Screens/UploadedFilesList/UploadedFileItemAction' import { Tabs } from '@Screens/UploadedFilesList/UploadedFilesList' -import { FileDownloadProgress } from '@standardnotes/files/dist/Domain/Types/FileDownloadProgress' +import { FileDownloadProgress } from '@standardnotes/files' import { ButtonType, ChallengeReason, ClientDisplayableError, ContentType, FileItem, SNNote } from '@standardnotes/snjs' import { CustomActionSheetOption, useCustomActionSheet } from '@Style/CustomActionSheet' import { useCallback, useEffect, useState } from 'react' diff --git a/packages/mobile/src/Lib/FilesService.ts b/packages/mobile/src/Lib/FilesService.ts index 93ae0862f..094aaec7f 100644 --- a/packages/mobile/src/Lib/FilesService.ts +++ b/packages/mobile/src/Lib/FilesService.ts @@ -1,5 +1,5 @@ import { ByteChunker, FileSelectionResponse, OnChunkCallback } from '@standardnotes/filepicker' -import { FileDownloadProgress } from '@standardnotes/files/dist/Domain/Types/FileDownloadProgress' +import { FileDownloadProgress } from '@standardnotes/files' import { ClientDisplayableError } from '@standardnotes/responses' import { ApplicationService, FileItem } from '@standardnotes/snjs' import { Buffer } from 'buffer'