minor code style update

This commit is contained in:
Tibor Kaputa 2022-04-28 19:04:42 +02:00 committed by GitHub
parent 807c80a54b
commit 1c3a53e8a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)