mirror of
https://github.com/SimpleMobileTools/Simple-Draw.git
synced 2025-02-25 16:07:54 +01:00
do not check save file existence at scoped storage
This commit is contained in:
parent
1dc8299438
commit
a76870387c
@ -66,7 +66,7 @@ class SaveImageDialog(val activity: SimpleActivity, val defaultPath: String, val
|
||||
return@setOnClickListener
|
||||
}
|
||||
|
||||
if (File(newPath).exists()) {
|
||||
if (!hidePath && File(newPath).exists()) {
|
||||
val title = String.format(activity.getString(R.string.file_already_exists_overwrite), newPath.getFilenameFromPath())
|
||||
ConfirmationDialog(activity, title) {
|
||||
callback(newPath, filename, extension)
|
||||
|
Loading…
x
Reference in New Issue
Block a user