mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-06-06 05:49:03 +08:00
fix: move clipboard image cache to cache dir
This commit is contained in:
@@ -24,7 +24,7 @@ object ClipboardUtils {
|
||||
}
|
||||
|
||||
private fun saveToImageCache(mimeType: String, byteArray: ByteArray): File {
|
||||
val dir = File(MyApplication.applicationContext.filesDir, "images")
|
||||
val dir = File(MyApplication.applicationContext.cacheDir, "images")
|
||||
if (!dir.exists()) {
|
||||
dir.mkdirs()
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<paths>
|
||||
<files-path
|
||||
<cache-path
|
||||
name="images"
|
||||
path="images" />
|
||||
</paths>
|
||||
Reference in New Issue
Block a user