pull/2533/head
kunfei 2 years ago
parent 44670a664f
commit 698e29b7d6
  1. 2
      app/src/main/java/io/legado/app/ui/book/group/GroupEditDialog.kt

@ -58,7 +58,7 @@ class GroupEditDialog() : BaseDialogFragment(R.layout.dialog_book_group_edit) {
@Suppress("DEPRECATION") @Suppress("DEPRECATION")
bookGroup = arguments?.getParcelable("group") bookGroup = arguments?.getParcelable("group")
bookGroup?.let { bookGroup?.let {
binding.btnDelete.visible(it.groupId > 0) binding.btnDelete.visible()
binding.tieGroupName.setText(it.groupName) binding.tieGroupName.setText(it.groupName)
binding.ivCover.load(it.cover) binding.ivCover.load(it.cover)
} ?: let { } ?: let {

Loading…
Cancel
Save