From bcd0814d001d669628e7589b69c31477e1cc14ec Mon Sep 17 00:00:00 2001 From: Alex Ware Date: Wed, 30 Oct 2019 14:24:05 +0000 Subject: [PATCH] put mediaRoot back (and delete unused export) --- projects/Mallard/src/paths/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/Mallard/src/paths/index.ts b/projects/Mallard/src/paths/index.ts index 1acc98bc8c..cedd262c9d 100644 --- a/projects/Mallard/src/paths/index.ts +++ b/projects/Mallard/src/paths/index.ts @@ -35,12 +35,13 @@ export const APIPaths = { const issuesDir = `${RNFetchBlob.fs.dirs.DocumentDir}/issues` const issueRoot = (localIssueId: string) => `${issuesDir}/${localIssueId}` -export const MEDIA_CACHE_DIRECTORY_NAME = 'cached' +const mediaRoot = (localIssueId: string) => `${issueRoot(localIssueId)}/media` export const FSPaths = { issuesDir, contentPrefixDir: `${issuesDir}/${defaultSettings.contentPrefix}`, issueRoot, + mediaRoot, image: ( localIssueId: string, size: ImageSize,