We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c96e8d commit 723abbeCopy full SHA for 723abbe
app/src/main/java/eu/kanade/tachiyomi/ui/category/CategoryPresenter.kt
@@ -100,7 +100,9 @@ class CategoryPresenter(
100
scope.launch {
101
deleteCategories.awaitOne(safeCategory.toLong())
102
categories.remove(category)
103
- controller.setCategories(categories.map(::CategoryItem))
+ withContext(Dispatchers.Main) {
104
+ controller.setCategories(categories.map(::CategoryItem))
105
+ }
106
}
107
108
0 commit comments