mirror of
https://github.com/SimpleMobileTools/Simple-Draw.git
synced 2025-02-26 00:17:46 +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
|
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())
|
val title = String.format(activity.getString(R.string.file_already_exists_overwrite), newPath.getFilenameFromPath())
|
||||||
ConfirmationDialog(activity, title) {
|
ConfirmationDialog(activity, title) {
|
||||||
callback(newPath, filename, extension)
|
callback(newPath, filename, extension)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user