mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-22 07:44:00 +01:00
Remove JPEG_ prefix from file name.
This commit is contained in:
parent
e583c03751
commit
6bf89aeac9
@ -122,7 +122,7 @@ class CameraPicker(val requestCode: Int) {
|
||||
val timeStamp: String = SimpleDateFormat("yyyyMMdd_HHmmss", Locale.getDefault()).format(Date())
|
||||
val storageDir: File = context.filesDir
|
||||
return File.createTempFile(
|
||||
"JPEG_${timeStamp}_", /* prefix */
|
||||
"${timeStamp}_", /* prefix */
|
||||
".jpg", /* suffix */
|
||||
storageDir /* directory */
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user