diff --git a/app/src/main/java/io/legado/app/ui/association/ImportBookSourceDialog.kt b/app/src/main/java/io/legado/app/ui/association/ImportBookSourceDialog.kt index cc240f3f2..9b487ffa6 100644 --- a/app/src/main/java/io/legado/app/ui/association/ImportBookSourceDialog.kt +++ b/app/src/main/java/io/legado/app/ui/association/ImportBookSourceDialog.kt @@ -198,8 +198,12 @@ class ImportBookSourceDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickList if (viewModel.groupName.isNullOrBlank()) { item.title = getString(R.string.diy_source_group) } else { - item.title = - getString(R.string.diy_edit_source_group_title, viewModel.groupName) + val group = getString(R.string.diy_edit_source_group_title, viewModel.groupName) + if (viewModel.isAddGroup) { + item.title = "+$group" + } else { + item.title = group + } } } noButton() diff --git a/app/src/main/res/layout/dialog_custom_group.xml b/app/src/main/res/layout/dialog_custom_group.xml index 21c8f4967..a41597fe5 100644 --- a/app/src/main/res/layout/dialog_custom_group.xml +++ b/app/src/main/res/layout/dialog_custom_group.xml @@ -16,7 +16,9 @@ + android:layout_height="wrap_content" + android:paddingTop="6dp" + android:paddingBottom="6dp"> + android:layout_height="wrap_content" + android:paddingTop="6dp">