From fa991511836701d54da3d0964a1bf14ea8022c68 Mon Sep 17 00:00:00 2001 From: Marius Butz Date: Thu, 7 May 2026 15:19:38 +0200 Subject: [PATCH] add watched badge to collection details --- .../com/nuvio/app/features/collection/FolderDetailScreen.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/composeApp/src/commonMain/kotlin/com/nuvio/app/features/collection/FolderDetailScreen.kt b/composeApp/src/commonMain/kotlin/com/nuvio/app/features/collection/FolderDetailScreen.kt index 593194cb..a8fb357f 100644 --- a/composeApp/src/commonMain/kotlin/com/nuvio/app/features/collection/FolderDetailScreen.kt +++ b/composeApp/src/commonMain/kotlin/com/nuvio/app/features/collection/FolderDetailScreen.kt @@ -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 {