From fb5b14dd8a6d0f793a0bf56d0f12769cde6141fb Mon Sep 17 00:00:00 2001 From: Jay Date: Mon, 27 Apr 2020 22:53:56 -0400 Subject: [PATCH] Fixed rapidly deleting categories not deleting --- .../java/eu/kanade/tachiyomi/ui/category/CategoryController.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/category/CategoryController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/category/CategoryController.kt index 46f7ebc786..f17ab34464 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/category/CategoryController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/category/CategoryController.kt @@ -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) {