pull/94/head
kunfei 5 years ago
parent 461da74963
commit 272232291f
  1. 4
      app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceActivity.kt

@ -162,8 +162,12 @@ class BookSourceActivity : VMBaseActivity<BookSourceViewModel>(R.layout.activity
private fun initViewEvent() {
cb_selected_all.onClick {
if (adapter.getSelection().size == adapter.getActualItemCount()) {
adapter.revertSelection()
} else {
adapter.selectAll()
}
}
btn_revert_selection.onClick {
adapter.revertSelection()
}

Loading…
Cancel
Save