mirror of
https://github.com/android-password-store/Android-Password-Store.git
synced 2025-09-07 01:27:18 +02:00
Remove an erroneous check on directory moves (#693)
This commit is contained in:
parent
b78f70700c
commit
2738d7500f
|
@ -657,7 +657,6 @@ class PasswordStore : AppCompatActivity() {
|
|||
.show()
|
||||
}
|
||||
val sourceDestinationMap = if (source.isDirectory) {
|
||||
check(destinationFile.isDirectory) { "Moving a directory to a file" }
|
||||
// Recursively list all files (not directories) below `source`, then
|
||||
// obtain the corresponding target file by resolving the relative path
|
||||
// starting at the destination folder.
|
||||
|
|
Loading…
Reference in a new issue