pull/2337/head
kunfei 2 years ago
parent 8f07d5bcd3
commit 111296b942
  1. 1
      app/src/main/java/io/legado/app/ui/book/group/GroupEditDialog.kt

@ -47,6 +47,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.tieGroupName.setText(it.groupName) binding.tieGroupName.setText(it.groupName)
binding.ivCover.load(it.cover) binding.ivCover.load(it.cover)
} ?: let { } ?: let {

Loading…
Cancel
Save