diff --git a/app/src/main/kotlin/com/simplemobiletools/draw/dialogs/SaveImageDialog.kt b/app/src/main/kotlin/com/simplemobiletools/draw/dialogs/SaveImageDialog.kt index 06ba6db..ceeba3a 100644 --- a/app/src/main/kotlin/com/simplemobiletools/draw/dialogs/SaveImageDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/draw/dialogs/SaveImageDialog.kt @@ -109,7 +109,7 @@ class SaveImageDialog(val activity: SimpleActivity, val suggestedExtension: Stri private fun getInitialFilename(): String { val simpleDateFormat = SimpleDateFormat("yyyy-MM-dd_HH-mm") val formatted = simpleDateFormat.format(Date(System.currentTimeMillis())) - val defaultFilename = "image_${formatted}" + val defaultFilename = "image_$formatted" return if (curPath.isEmpty()) defaultFilename else curPath.getFilenameFromPath().substring(0, curPath.getFilenameFromPath().lastIndexOf(".")) }