pull/1295/head
gedoor 3 years ago
parent 5cdf467993
commit cf1836054b
  1. 9
      app/src/main/java/io/legado/app/ui/document/HandleFileActivity.kt

@ -71,12 +71,9 @@ class HandleFileActivity :
} }
val title = intent.getStringExtra("title") ?: let { val title = intent.getStringExtra("title") ?: let {
when (mode) { when (mode) {
HandleFileContract.DIR -> { HandleFileContract.EXPORT -> return@let getString(R.string.export)
return@let getString(R.string.select_folder) HandleFileContract.DIR -> return@let getString(R.string.select_folder)
} else -> return@let getString(R.string.select_file)
else -> {
return@let getString(R.string.select_file)
}
} }
} }
alert(title) { alert(title) {

Loading…
Cancel
Save