Skip to content

Commit

Permalink
put mediaRoot back (and delete unused export)
Browse files Browse the repository at this point in the history
  • Loading branch information
AWare committed Oct 30, 2019
1 parent 53cd114 commit 8857019
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projects/Mallard/src/paths/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8857019

Please sign in to comment.