mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-31 22:35:17 +00:00
Remove an erroneous check on directory moves (#693)
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user