diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SimpleActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SimpleActivity.kt index 1fa335065..556e7f36c 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SimpleActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SimpleActivity.kt @@ -24,7 +24,6 @@ open class SimpleActivity : BaseSimpleActivity() { return } - copyMoveCallback = callback val source = if (files[0].isFile) files[0].parent.trimEnd('/') else files[0].absolutePath val currPath = source.trimEnd('/') PickAlbumDialog(this, currPath) { @@ -47,6 +46,7 @@ open class SimpleActivity : BaseSimpleActivity() { } handleSAFDialog(destinationFolder) { + copyMoveCallback = callback if (isCopyOperation) { toast(R.string.copying) val pair = Pair, File>(files, destinationFolder)