fix saving path
This commit is contained in:
parent
21e6f4f023
commit
847ef66216
|
@ -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(filesDir, "Images/${UUID.randomUUID()}.jpg")
|
||||
|
||||
file.deleteRecursively()
|
||||
file.parentFile?.mkdirs()
|
||||
|
|
Loading…
Reference in a new issue