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) {