Skip to content

Commit d8a91f1

Browse files
committed
a minor Move correction
1 parent 227ef72 commit d8a91f1

File tree

1 file changed

+2
-0
lines changed
  • app/src/main/kotlin/com/simplemobiletools/filemanager/dialogs

1 file changed

+2
-0
lines changed

app/src/main/kotlin/com/simplemobiletools/filemanager/dialogs/CopyDialog.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ class CopyDialog(val activity: Activity, val files: List<File>, val copyListener
9494
} else {
9595
for (file in files) {
9696
val destination = File(destinationDir, file.name)
97+
file.renameTo(destination)
98+
context.rescanItem(file)
9799
context.rescanItem(destination)
98100
}
99101

0 commit comments

Comments
 (0)