pull/1319/head
gedoor 3 years ago
parent 65cf646520
commit 1f6523a4a4
  1. 4
      app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt

@ -327,16 +327,12 @@ class BookInfoActivity :
}
customView { alertBinding.root }
okButton {
launch(IO) {
viewModel.bookSource?.setVariable(alertBinding.editView.text?.toString())
}
}
cancelButton()
neutralButton(R.string.delete) {
launch(IO) {
viewModel.bookSource?.setVariable(null)
}
}
}.show()
}
}

Loading…
Cancel
Save