From 8678660705711e69a360edddf22020fc367a1e06 Mon Sep 17 00:00:00 2001 From: tapframe <85391825+tapframe@users.noreply.github.com> Date: Tue, 12 May 2026 23:27:53 +0530 Subject: [PATCH] fix: remove duplicate episode title in horizontal cw card --- .../home/components/HomeContinueWatchingSection.kt | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/composeApp/src/commonMain/kotlin/com/nuvio/app/features/home/components/HomeContinueWatchingSection.kt b/composeApp/src/commonMain/kotlin/com/nuvio/app/features/home/components/HomeContinueWatchingSection.kt index 9bf4d92a..6b953b4e 100644 --- a/composeApp/src/commonMain/kotlin/com/nuvio/app/features/home/components/HomeContinueWatchingSection.kt +++ b/composeApp/src/commonMain/kotlin/com/nuvio/app/features/home/components/HomeContinueWatchingSection.kt @@ -355,8 +355,6 @@ private fun ContinueWatchingWideCard( .padding(layout.wideContentPadding), verticalArrangement = Arrangement.SpaceBetween, ) { - val isEpisodeCard = item.seasonNumber != null && item.episodeNumber != null - val hasEpisodeTitle = !item.episodeTitle.isNullOrBlank() val wideMetaLine = localizedContinueWatchingSubtitle(item) Column(verticalArrangement = Arrangement.spacedBy(6.dp)) { Row( @@ -389,18 +387,6 @@ private fun ContinueWatchingWideCard( maxLines = 1, overflow = TextOverflow.Ellipsis, ) - if (hasEpisodeTitle) { - Text( - text = item.episodeTitle.orEmpty(), - style = MaterialTheme.typography.bodySmall.copy( - fontSize = layout.wideMetaSize, - fontWeight = FontWeight.Medium, - ), - color = MaterialTheme.colorScheme.onSurfaceVariant, - maxLines = 1, - overflow = TextOverflow.Ellipsis, - ) - } } if (item.progressFraction > 0f) {