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