From 111296b9421fc28535d508499653dbf82c33386b Mon Sep 17 00:00:00 2001 From: kunfei Date: Fri, 23 Sep 2022 21:26:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/ui/book/group/GroupEditDialog.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/io/legado/app/ui/book/group/GroupEditDialog.kt b/app/src/main/java/io/legado/app/ui/book/group/GroupEditDialog.kt index 6f5607737..068116e60 100644 --- a/app/src/main/java/io/legado/app/ui/book/group/GroupEditDialog.kt +++ b/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") bookGroup = arguments?.getParcelable("group") bookGroup?.let { + binding.btnDelete.visible(it.groupId > 0) binding.tieGroupName.setText(it.groupName) binding.ivCover.load(it.cover) } ?: let {