mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -483,16 +483,16 @@ class BookInfoActivity :
|
||||
addView(checkBox)
|
||||
}
|
||||
customView { view }
|
||||
positiveButton(R.string.yes) {
|
||||
yesButton {
|
||||
viewModel.delBook(checkBox.isChecked) {
|
||||
finish()
|
||||
}
|
||||
}
|
||||
negativeButton(R.string.no)
|
||||
noButton()
|
||||
}
|
||||
} else {
|
||||
alert(R.string.sure, R.string.sure_del) {
|
||||
okButton {
|
||||
yesButton {
|
||||
viewModel.delBook {
|
||||
upTvBookshelf()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user