mirror of
https://github.com/gedoor/legado.git
synced 2024-09-03 09:55:00 +08:00
优化
This commit is contained in:
parent
89c8a72ce1
commit
f061f21487
@ -49,10 +49,8 @@ class ExploreAdapter(context: Context, private val scope: CoroutineScope, val ca
|
||||
ACache.get(context, "explore").remove(item.bookSourceUrl)
|
||||
notifyItemChanged(holder.layoutPosition)
|
||||
}
|
||||
R.id.menu_del -> {
|
||||
Coroutine.async(scope) {
|
||||
App.db.bookSourceDao().delete(item)
|
||||
}
|
||||
R.id.menu_del -> Coroutine.async(scope) {
|
||||
App.db.bookSourceDao().delete(item)
|
||||
}
|
||||
}
|
||||
true
|
||||
|
Loading…
Reference in New Issue
Block a user