diff --git a/src/utils/log.ts b/src/utils/log.ts index fb5d1fa6c..f2e612f36 100644 --- a/src/utils/log.ts +++ b/src/utils/log.ts @@ -1,6 +1,6 @@ // import { requestStoragePermission } from '@/utils/common' -import { temporaryDirectoryPath, existsFile, appendFile, unlink } from '@/utils/fs' -import { readFile, writeFile } from './nativeModules/utils' +import { temporaryDirectoryPath, existsFile, appendFile } from '@/utils/fs' +import { readFile, unlink, writeFile } from './nativeModules/utils' const logPath = temporaryDirectoryPath + '/error.log' diff --git a/src/utils/tools.ts b/src/utils/tools.ts index 71502d629..1e10911f2 100644 --- a/src/utils/tools.ts +++ b/src/utils/tools.ts @@ -3,8 +3,8 @@ import { Platform, ToastAndroid, BackHandler, Linking, Dimensions, Alert, Appear import Clipboard from '@react-native-clipboard/clipboard' import { storageDataPrefix } from '@/config/constant' import { gzipFile, unGzipFile } from '@/utils/nativeModules/gzip' -import { temporaryDirectoryPath, unlink } from '@/utils/fs' -import { getSystemLocales, isIgnoringBatteryOptimization, isNotificationsEnabled, requestNotificationPermission, readFile, requestIgnoreBatteryOptimization, shareText, writeFile } from '@/utils/nativeModules/utils' +import { temporaryDirectoryPath } from '@/utils/fs' +import { getSystemLocales, isIgnoringBatteryOptimization, isNotificationsEnabled, requestNotificationPermission, readFile, requestIgnoreBatteryOptimization, shareText, writeFile, unlink } from '@/utils/nativeModules/utils' import musicSdk from '@/utils/musicSdk' import { getData, removeData, saveData } from '@/plugins/storage' import BackgroundTimer from 'react-native-background-timer'