diff --git a/app/src/main/java/io/legado/app/ui/document/HandleFileActivity.kt b/app/src/main/java/io/legado/app/ui/document/HandleFileActivity.kt index a3871a024..59bbb6097 100644 --- a/app/src/main/java/io/legado/app/ui/document/HandleFileActivity.kt +++ b/app/src/main/java/io/legado/app/ui/document/HandleFileActivity.kt @@ -71,12 +71,9 @@ class HandleFileActivity : } val title = intent.getStringExtra("title") ?: let { when (mode) { - HandleFileContract.DIR -> { - return@let getString(R.string.select_folder) - } - else -> { - return@let getString(R.string.select_file) - } + HandleFileContract.EXPORT -> return@let getString(R.string.export) + HandleFileContract.DIR -> return@let getString(R.string.select_folder) + else -> return@let getString(R.string.select_file) } } alert(title) {