|
|
@ -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) { |
|
|
|