diff --git a/multipicker/src/main/java/im/vector/riotx/multipicker/CameraPicker.kt b/multipicker/src/main/java/im/vector/riotx/multipicker/CameraPicker.kt index d7a4d55d22..240d809373 100644 --- a/multipicker/src/main/java/im/vector/riotx/multipicker/CameraPicker.kt +++ b/multipicker/src/main/java/im/vector/riotx/multipicker/CameraPicker.kt @@ -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 */ )