From 19f89af6c037b28befa7efac91ecde55a653eee3 Mon Sep 17 00:00:00 2001 From: gedoor Date: Wed, 18 Nov 2020 15:56:25 +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 --- .../legado/app/ui/book/source/manage/BookSourceActivity.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceActivity.kt b/app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceActivity.kt index 44e49ca3f..89f8b2479 100644 --- a/app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceActivity.kt @@ -328,6 +328,7 @@ class BookSourceActivity : VMBaseActivity(R.layout.activity layoutInflater.inflate(R.layout.dialog_edit_text, null).apply { editText = edit_view edit_view.setHint(R.string.group_name) + edit_view.setFilterValues(groups.toList()) } } okButton { @@ -337,7 +338,7 @@ class BookSourceActivity : VMBaseActivity(R.layout.activity } } } - noButton() + cancelButton() }.show() } @@ -349,6 +350,7 @@ class BookSourceActivity : VMBaseActivity(R.layout.activity layoutInflater.inflate(R.layout.dialog_edit_text, null).apply { editText = edit_view edit_view.setHint(R.string.group_name) + edit_view.setFilterValues(groups.toList()) } } okButton { @@ -358,7 +360,7 @@ class BookSourceActivity : VMBaseActivity(R.layout.activity } } } - noButton() + cancelButton() }.show() }