Remove an erroneous check on directory moves (#693)
This commit is contained in:
parent
b78f70700c
commit
2738d7500f
1 changed files with 0 additions and 1 deletions
|
@ -657,7 +657,6 @@ class PasswordStore : AppCompatActivity() {
|
||||||
.show()
|
.show()
|
||||||
}
|
}
|
||||||
val sourceDestinationMap = if (source.isDirectory) {
|
val sourceDestinationMap = if (source.isDirectory) {
|
||||||
check(destinationFile.isDirectory) { "Moving a directory to a file" }
|
|
||||||
// Recursively list all files (not directories) below `source`, then
|
// Recursively list all files (not directories) below `source`, then
|
||||||
// obtain the corresponding target file by resolving the relative path
|
// obtain the corresponding target file by resolving the relative path
|
||||||
// starting at the destination folder.
|
// starting at the destination folder.
|
||||||
|
|
Loading…
Reference in a new issue