public dir for images

This commit is contained in:
rebelonion 2024-01-14 02:18:17 -06:00
parent 063d314c36
commit 2f41515b33

View file

@ -602,7 +602,7 @@ fun saveImageToDownloads(title: String, bitmap: Bitmap, context: Context) {
"$APPLICATION_ID.provider", "$APPLICATION_ID.provider",
saveImage( saveImage(
bitmap, bitmap,
Environment.getExternalStorageDirectory().absolutePath + "/" + Environment.DIRECTORY_DOWNLOADS, Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).absolutePath,
title title
) ?: return ) ?: return
) )