From 67aeb9404db44180acd6080d779811fa0c910e09 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sat, 8 Jun 2019 09:05:46 +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 --- .../java/io/legado/app/ui/main/booksource/BookSourceFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/main/booksource/BookSourceFragment.kt b/app/src/main/java/io/legado/app/ui/main/booksource/BookSourceFragment.kt index a86a6ebfd..8ea3b59e7 100644 --- a/app/src/main/java/io/legado/app/ui/main/booksource/BookSourceFragment.kt +++ b/app/src/main/java/io/legado/app/ui/main/booksource/BookSourceFragment.kt @@ -60,7 +60,7 @@ class BookSourceFragment : BaseFragment(R.layout.fragment_book_source), BookSour } override fun del(bookSource: BookSource) { - TODO("not implemented") //To change body of created functions use File | Settings | File Templates. + GlobalScope.launch { App.db.bookSourceDao().delete(bookSource) } } override fun update(bookSource: BookSource) {