mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Fixed rapidly deleting categories not deleting
This commit is contained in:
parent
f1a62857be
commit
fb5b14dd8a
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue