a minor Move correction
This commit is contained in:
parent
227ef72786
commit
d8a91f1301
|
@ -94,6 +94,8 @@ class CopyDialog(val activity: Activity, val files: List<File>, val copyListener
|
||||||
} else {
|
} else {
|
||||||
for (file in files) {
|
for (file in files) {
|
||||||
val destination = File(destinationDir, file.name)
|
val destination = File(destinationDir, file.name)
|
||||||
|
file.renameTo(destination)
|
||||||
|
context.rescanItem(file)
|
||||||
context.rescanItem(destination)
|
context.rescanItem(destination)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue