Fix collection view all genre filter

Fixes #1264
This commit is contained in:
tapframe 2026-06-11 01:35:08 +05:30
parent e7e6e333e6
commit 3bcf74dd75
3 changed files with 3 additions and 0 deletions

View file

@ -1252,6 +1252,7 @@ private fun MainAppContent(
type = section.type,
catalogId = section.catalogId,
supportsPagination = section.supportsPagination,
genre = section.genre,
),
)
}

View file

@ -421,6 +421,7 @@ object FolderDetailRepository {
items = tab.items,
availableItemCount = tab.items.size,
supportsPagination = tab.supportsPagination,
genre = tab.genre,
)
}
}

View file

@ -39,6 +39,7 @@ data class HomeCatalogSection(
val items: List<MetaPreview>,
val availableItemCount: Int = items.size,
val supportsPagination: Boolean = false,
val genre: String? = null,
)
fun HomeCatalogSection.canOpenCatalog(previewLimit: Int): Boolean =