Loading build.gradle +1 −1 Original line number Diff line number Diff line Loading @@ -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' } Loading commons/src/main/kotlin/com/simplemobiletools/commons/activities/BaseSimpleActivity.kt +2 −2 Original line number Diff line number Diff line Loading @@ -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 } Loading @@ -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) Loading Loading
build.gradle +1 −1 Original line number Diff line number Diff line Loading @@ -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' } Loading
commons/src/main/kotlin/com/simplemobiletools/commons/activities/BaseSimpleActivity.kt +2 −2 Original line number Diff line number Diff line Loading @@ -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 } Loading @@ -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) Loading