mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2025-01-11 19:59:09 +01:00
Fixed rapidly deleting categories not deleting
This commit is contained in:
parent
f1a62857be
commit
fb5b14dd8a
@ -136,6 +136,7 @@ class CategoryController(bundle: Bundle? = null) : BaseController(bundle),
|
||||
}
|
||||
|
||||
private fun deleteCategory(position: Int) {
|
||||
confirmDelete()
|
||||
adapter?.removeItem(position)
|
||||
snack =
|
||||
view?.snack(R.string.category_deleted, Snackbar.LENGTH_INDEFINITE) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user