aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorFabian Henneke <FabianHenneke@users.noreply.github.com>2020-04-08 14:55:44 +0200
committerGitHub <noreply@github.com>2020-04-08 18:25:44 +0530
commit2738d7500fa0d4d925f698a04045d930c27a2d59 (patch)
treeaccc50c46679cdd483ae119b4cf4d9e59eccc658 /app/src/main/java
parentb78f70700c5e685fb85d1ba6e4fac130719fc354 (diff)
Remove an erroneous check on directory moves (#693)
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/PasswordStore.kt1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.kt b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.kt
index bd96528f..c665a4c2 100644
--- a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.kt
+++ b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.kt
@@ -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.