diff options
author | Fabian Henneke <FabianHenneke@users.noreply.github.com> | 2020-04-08 14:55:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-08 18:25:44 +0530 |
commit | 2738d7500fa0d4d925f698a04045d930c27a2d59 (patch) | |
tree | accc50c46679cdd483ae119b4cf4d9e59eccc658 /app/src | |
parent | b78f70700c5e685fb85d1ba6e4fac130719fc354 (diff) |
Remove an erroneous check on directory moves (#693)
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/PasswordStore.kt | 1 |
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. |