minor code style update
This commit is contained in:
parent
807c80a54b
commit
1c3a53e8a7
1 changed files with 1 additions and 1 deletions
|
@ -975,7 +975,7 @@ private fun BaseSimpleActivity.renameCasually(
|
|||
val tempFile = try {
|
||||
createTempFile(oldFile) ?: return
|
||||
} catch (exception: Exception) {
|
||||
if (isRPlus() && exception is java.nio.file.FileSystemException) {
|
||||
if (isRPlus() && exception is FileSystemException) {
|
||||
// if we are renaming multiple files at once, we should give the Android 30+ permission dialog all uris together, not one by one
|
||||
if (isRenamingMultipleFiles) {
|
||||
callback?.invoke(false, Android30RenameFormat.CONTENT_RESOLVER)
|
||||
|
|
Loading…
Reference in a new issue