Fix edited image not openable
This commit is contained in:
parent
ea590705e9
commit
56efb8eaf5
1 changed files with 1 additions and 1 deletions
|
@ -678,7 +678,7 @@ class EditActivity : AppCompatActivity(), CropImageView.OnCropImageCompleteListe
|
|||
}
|
||||
|
||||
private fun saveBitmapToFile(bitmap: Bitmap, showSavingToast: Boolean) {
|
||||
val file = File(cacheDir, "editedImages/${UUID.randomUUID()}.jpg")
|
||||
val file = File(cacheDir, "media/${UUID.randomUUID()}.jpg")
|
||||
|
||||
file.deleteRecursively()
|
||||
file.parentFile?.mkdirs()
|
||||
|
|
Loading…
Reference in a new issue