Revert "feat: filter watched items from the Continue Watching section"

This reverts commit 41f7129b08.
This commit is contained in:
2026-05-07 19:32:05 +02:00
parent f75f18d2af
commit 607bfca0c0

View File

@@ -26,11 +26,9 @@ fun ContinueWatchingSection(
) {
if (items.isEmpty()) return
val filteredItems = items.filter { !it.watched }
val listState = rememberLazyListState()
LaunchedEffect(filteredItems) {
LaunchedEffect(items) {
listState.scrollToItem(index = 0)
}
@@ -46,7 +44,7 @@ fun ContinueWatchingSection(
modifier = Modifier.fillMaxWidth(),
state = listState
) {
itemsIndexed(items = filteredItems, key = { _, item -> item.id }) { index, item ->
itemsIndexed(items = items, key = { _, item -> item.id }) { index, item ->
ContinueWatchingCard(
item = item,
sharedBoundsKey = homeMediaSharedBoundsKey("continue-$index", item.id),