pull/1696/head
kunfei 3 years ago
parent 8effd6e810
commit 0f61899445
  1. 2
      app/src/main/java/io/legado/app/ui/book/local/ImportBookActivity.kt

@ -246,7 +246,7 @@ class ImportBookActivity : VMBaseActivity<ActivityImportBookBinding, ImportBookV
private fun alertImportFileName() {
alert(R.string.import_file_name) {
setMessage("""使用js返回一个json结构,{"name":"xxx", "author":"yyy"}""")
setMessage("""使用js处理文件名变量src返回一个json结构,{"name":"xxx", "author":"yyy"}""")
val alertBinding = DialogEditTextBinding.inflate(layoutInflater).apply {
editView.hint = "js"
editView.setText(AppConfig.bookImportFileName)

Loading…
Cancel
Save