mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-05-17 23:42:04 +00:00
add watched badge to collection details
This commit is contained in:
parent
52b2d232de
commit
fa99151183
1 changed files with 2 additions and 0 deletions
|
|
@ -332,6 +332,7 @@ private fun RowsContent(
|
|||
onPosterClick: (MetaPreview) -> Unit,
|
||||
) {
|
||||
val sections = FolderDetailRepository.getCatalogSectionsForRows()
|
||||
val watchedUiState by WatchedRepository.uiState.collectAsStateWithLifecycle()
|
||||
|
||||
if (uiState.isLoading && sections.isEmpty()) {
|
||||
LoadingIndicator()
|
||||
|
|
@ -358,6 +359,7 @@ private fun RowsContent(
|
|||
HomeCatalogRowSection(
|
||||
section = section,
|
||||
entries = section.items.take(18),
|
||||
watchedKeys = watchedUiState.watchedKeys,
|
||||
onViewAllClick = if (section.canOpenCatalog(18)) {
|
||||
{ onCatalogClick(section) }
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue