diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/MediaAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/MediaAdapter.kt index 609228e7c..235c9621b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/MediaAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/MediaAdapter.kt @@ -73,8 +73,8 @@ class MediaAdapter(val activity: SimpleActivity, var media: MutableList, R.id.cab_rename -> renameFile() R.id.cab_edit -> editFile() R.id.cab_share -> shareMedia() - R.id.cab_copy_to -> copyTo() - R.id.cab_move_to -> moveTo() + R.id.cab_copy_to -> copyMoveTo(true) + R.id.cab_move_to -> copyMoveTo(false) R.id.cab_select_all -> selectAll() R.id.cab_delete -> askConfirmDelete() else -> return false @@ -151,14 +151,6 @@ class MediaAdapter(val activity: SimpleActivity, var media: MutableList, } } - private fun copyTo() { - copyMoveTo(true) - } - - private fun moveTo() { - copyMoveTo(false) - } - fun selectAll() { val cnt = media.size for (i in 0..cnt - 1) {