a minor Move correction

This commit is contained in:
tibbi 2016-11-11 22:56:17 +01:00
parent 227ef72786
commit d8a91f1301

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)
}