fix: prevent ContinueWatching LazyRow from starting scrolled to middle

Removing the item key disables Compose's scroll anchoring, which was
shifting the scroll offset rightward whenever a refresh prepended new
items, making the list appear to start in the middle.
This commit is contained in:
2026-02-17 20:50:15 +01:00
parent f97cc54e2a
commit 5b285ed677

View File

@@ -63,8 +63,7 @@ fun ContinueWatchingSection(
contentPadding = PaddingValues(horizontal = 16.dp),
horizontalArrangement = Arrangement.spacedBy(16.dp)
) {
items(
items = items, key = { it.id }) { item ->
items(items = items) { item ->
ContinueWatchingCard(
item = item,
onMovieSelected = onMovieSelected,