fix copying files to sd card

This commit is contained in:
tibbi
2016-11-05 19:14:28 +01:00
parent 68e5b4cf79
commit f8e855ec15
2 changed files with 14 additions and 8 deletions

View File

@ -58,7 +58,7 @@ class CopyDialog(val activity: Activity, val files: List<File>, val path: String
if (view.dialog_radio_group.checkedRadioButtonId == R.id.dialog_radio_copy) {
Utils.showToast(context, R.string.copying)
val pair = Pair<List<File>, File>(files, destinationDir)
CopyTask(copyListener).execute(pair)
CopyTask(copyListener, mContext).execute(pair)
dismiss()
} else {
for (f in files) {