|
|
@ -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 { |
|
|
|