a minor Move correction

This commit is contained in:
tibbi 2016-11-11 22:56:17 +01:00
parent 227ef72786
commit d8a91f1301
1 changed files with 2 additions and 0 deletions

View File

@ -94,6 +94,8 @@ class CopyDialog(val activity: Activity, val files: List<File>, val copyListener
} else {
for (file in files) {
val destination = File(destinationDir, file.name)
file.renameTo(destination)
context.rescanItem(file)
context.rescanItem(destination)
}