pull/487/head^2
gedoor 4 years ago
parent c68a4f26e5
commit 19f89af6c0
  1. 6
      app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceActivity.kt

@ -328,6 +328,7 @@ class BookSourceActivity : VMBaseActivity<BookSourceViewModel>(R.layout.activity
layoutInflater.inflate(R.layout.dialog_edit_text, null).apply { layoutInflater.inflate(R.layout.dialog_edit_text, null).apply {
editText = edit_view editText = edit_view
edit_view.setHint(R.string.group_name) edit_view.setHint(R.string.group_name)
edit_view.setFilterValues(groups.toList())
} }
} }
okButton { okButton {
@ -337,7 +338,7 @@ class BookSourceActivity : VMBaseActivity<BookSourceViewModel>(R.layout.activity
} }
} }
} }
noButton() cancelButton()
}.show() }.show()
} }
@ -349,6 +350,7 @@ class BookSourceActivity : VMBaseActivity<BookSourceViewModel>(R.layout.activity
layoutInflater.inflate(R.layout.dialog_edit_text, null).apply { layoutInflater.inflate(R.layout.dialog_edit_text, null).apply {
editText = edit_view editText = edit_view
edit_view.setHint(R.string.group_name) edit_view.setHint(R.string.group_name)
edit_view.setFilterValues(groups.toList())
} }
} }
okButton { okButton {
@ -358,7 +360,7 @@ class BookSourceActivity : VMBaseActivity<BookSourceViewModel>(R.layout.activity
} }
} }
} }
noButton() cancelButton()
}.show() }.show()
} }

Loading…
Cancel
Save