feat: update WatchStateIndicator and UnwatchedEpisodeIndicator sizes and styles

This commit is contained in:
2026-02-19 17:51:22 +01:00
parent f3dd2a0783
commit 17ddc0b160
2 changed files with 5 additions and 2 deletions

View File

@@ -80,18 +80,21 @@ fun PosterCard(
)
when (item.type) {
BaseItemKind.MOVIE -> WatchStateIndicator(
size = 28,
modifier = Modifier.align(Alignment.TopEnd)
.padding(8.dp),
watched = item.movie!!.watched,
started = (item.movie.progress ?: 0.0) > 0
)
BaseItemKind.EPISODE -> WatchStateIndicator(
size = 28,
modifier = Modifier.align(Alignment.TopEnd)
.padding(8.dp),
watched = item.episode!!.watched,
started = (item.episode.progress ?: 0.0) > 0
)
BaseItemKind.SERIES -> UnwatchedEpisodeIndicator(
size = 28,
modifier = Modifier.align(Alignment.TopEnd)
.padding(8.dp),
unwatchedCount = item.series!!.unwatchedEpisodeCount

View File

@@ -39,8 +39,8 @@ fun UnwatchedEpisodeIndicator(
Text(
text = if (unwatchedCount > 9) "9+" else unwatchedCount.toString(),
color = foregroundColor.copy(alpha = 0.8f),
fontWeight = FontWeight.Bold,
fontSize = 12.sp
fontWeight = FontWeight.W900,
fontSize = 15.sp
)
}
}