use expo-file-system/legacy

This commit is contained in:
Samuel Newman
2025-09-11 12:01:07 +03:00
parent e61f1632c3
commit 4c4644d089
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import {createDownloadResumable, deleteAsync} from 'expo-file-system'
import {createDownloadResumable, deleteAsync} from 'expo-file-system/legacy'
import {manipulateAsync, SaveFormat} from 'expo-image-manipulator'
import {
+1 -1
View File
@@ -1,4 +1,4 @@
import {copyAsync} from 'expo-file-system'
import {copyAsync} from 'expo-file-system/legacy'
import {type BskyAgent, type ComAtprotoRepoUploadBlob} from '@atproto/api'
import {safeDeleteAsync} from '#/lib/media/manip'
+1 -1
View File
@@ -10,7 +10,7 @@ import {
makeDirectoryAsync,
StorageAccessFramework,
writeAsStringAsync,
} from 'expo-file-system'
} from 'expo-file-system/legacy'
import {manipulateAsync, SaveFormat} from 'expo-image-manipulator'
import * as MediaLibrary from 'expo-media-library'
import * as Sharing from 'expo-sharing'
+1 -1
View File
@@ -2,7 +2,7 @@ import {
documentDirectory,
getInfoAsync,
readDirectoryAsync,
} from 'expo-file-system'
} from 'expo-file-system/legacy'
import ExpoImageCropTool, {type OpenCropperOptions} from 'expo-image-crop-tool'
import {compressIfNeeded} from './manip'
+1 -1
View File
@@ -1,4 +1,4 @@
import {createUploadTask, FileSystemUploadType} from 'expo-file-system'
import {createUploadTask, FileSystemUploadType} from 'expo-file-system/legacy'
import {type AppBskyVideoDefs, type BskyAgent} from '@atproto/api'
import {type I18n} from '@lingui/core'
import {msg} from '@lingui/macro'
+1 -1
View File
@@ -1,7 +1,7 @@
import {useMemo} from 'react'
import {Platform} from 'react-native'
import {setStringAsync} from 'expo-clipboard'
import * as FileSystem from 'expo-file-system'
import * as FileSystem from 'expo-file-system/legacy'
import {Image} from 'expo-image'
import {msg, Trans} from '@lingui/macro'
import {useLingui} from '@lingui/react'
+1 -1
View File
@@ -3,7 +3,7 @@ import {
deleteAsync,
makeDirectoryAsync,
moveAsync,
} from 'expo-file-system'
} from 'expo-file-system/legacy'
import {
type Action,
type ActionCrop,