mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix(library): Category collapse should trigger UI update
Fixes GH-271
This commit is contained in:
parent
19b1ba76c7
commit
efea0103fe
1 changed files with 3 additions and 1 deletions
|
@ -815,7 +815,9 @@ class LibraryPresenter(
|
||||||
getLibraryManga.subscribe(),
|
getLibraryManga.subscribe(),
|
||||||
getPreferencesFlow(),
|
getPreferencesFlow(),
|
||||||
preferences.removeArticles().changes(),
|
preferences.removeArticles().changes(),
|
||||||
) { allCategories, libraryMangaList, prefs, removeArticles ->
|
preferences.collapsedCategories().changes(),
|
||||||
|
preferences.collapsedDynamicCategories().changes(),
|
||||||
|
) { allCategories, libraryMangaList, prefs, removeArticles, collapsedCategories, collapsedDynamicCategories ->
|
||||||
groupType = prefs.groupType
|
groupType = prefs.groupType
|
||||||
|
|
||||||
val (items, categories, hiddenItems) = if (groupType <= BY_DEFAULT || !libraryIsGrouped) {
|
val (items, categories, hiddenItems) = if (groupType <= BY_DEFAULT || !libraryIsGrouped) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue