mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-10-28 09:38:32 -04:00
fix copying multiple items
This commit is contained in:
1 parent
ac1991c887
commit
60a8f1f054
1 file changed
+2
-3
@@ -24,13 +24,12 @@ class CopyTask(listener: CopyTask.CopyListener, val context: Context) : AsyncTas
|
||||
try {
|
||||
destinationDir = File(pair.second, file.name)
|
||||
copy(file, destinationDir!!)
|
||||
return true
|
||||
} catch (e: Exception) {
|
||||
Log.e(TAG, "copy " + e)
|
||||
return false
|
||||
}
|
||||
|
||||
}
|
||||
return false
|
||||
return true
|
||||
}
|
||||
|
||||
@Throws(Exception::class)
|
||||
|
||||
Reference in new issue
Block a user