pull/871/head^2
gedoor 4 years ago
parent 81e4d2acfb
commit c106b6baae
  1. 1
      app/src/main/java/io/legado/app/ui/book/source/manage/GroupManageDialog.kt

@ -103,6 +103,7 @@ class GroupManageDialog : DialogFragment(), Toolbar.OnMenuItemClickListener {
alert(title = getString(R.string.group_edit)) { alert(title = getString(R.string.group_edit)) {
val alertBinding = DialogEditTextBinding.inflate(layoutInflater) val alertBinding = DialogEditTextBinding.inflate(layoutInflater)
alertBinding.editView.setHint(R.string.group_name) alertBinding.editView.setHint(R.string.group_name)
alertBinding.editView.setText(group)
customView { alertBinding.root } customView { alertBinding.root }
yesButton { yesButton {
viewModel.upGroup(group, alertBinding.editView.text?.toString()) viewModel.upGroup(group, alertBinding.editView.text?.toString())

Loading…
Cancel
Save