mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-25 02:45:53 +03:00
Remove JPEG_ prefix from file name.
This commit is contained in:
parent
e583c03751
commit
6bf89aeac9
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue