Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b040bdf authored by tibbi's avatar tibbi
Browse files

use the copy/delete way of moving of folders

parent 72c4c26b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ buildscript {
        propMinSdkVersion = 16
        propTargetSdkVersion = propCompileSdkVersion
        propVersionCode = 1
        propVersionName = '3.4.0'
        propVersionName = '3.4.1'
        kotlin_version = '1.2.10'
        support_libs = '27.0.2'
    }
+2 −2
Original line number Diff line number Diff line
@@ -174,7 +174,7 @@ open class BaseSimpleActivity : AppCompatActivity() {
        }

        if (files.size == 1) {
            if (File(destinationFolder.absolutePath, files[0].name).exists()) {
            if (File(destination, files[0].name).exists()) {
                toast(R.string.name_taken)
                return
            }
@@ -186,7 +186,7 @@ open class BaseSimpleActivity : AppCompatActivity() {
                toast(R.string.copying)
                startCopyMove(files, destinationFolder, isCopyOperation, copyPhotoVideoOnly)
            } else {
                if (isPathOnSD(source) || isPathOnSD(destinationFolder.absolutePath)) {
                if (isPathOnSD(source) || isPathOnSD(destination) || files.first().isDirectory) {
                    handleSAFDialog(File(source)) {
                        toast(R.string.moving)
                        startCopyMove(files, destinationFolder, false, copyPhotoVideoOnly)