From 57a9f4f23668d40265c54c9cc2f5538f4638cb1b Mon Sep 17 00:00:00 2001 From: Barnabas Balogh Date: Mon, 9 Feb 2026 20:09:28 +0100 Subject: [PATCH] feat: Do not show all unwacthed episodes only 9+ --- .../common/ui/components/UnwatchedEpisodeIndicator.kt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/hu/bbara/purefin/common/ui/components/UnwatchedEpisodeIndicator.kt b/app/src/main/java/hu/bbara/purefin/common/ui/components/UnwatchedEpisodeIndicator.kt index 9709536..9aca8cd 100644 --- a/app/src/main/java/hu/bbara/purefin/common/ui/components/UnwatchedEpisodeIndicator.kt +++ b/app/src/main/java/hu/bbara/purefin/common/ui/components/UnwatchedEpisodeIndicator.kt @@ -12,7 +12,9 @@ import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.draw.clip import androidx.compose.ui.graphics.Color +import androidx.compose.ui.text.font.FontWeight import androidx.compose.ui.unit.dp +import androidx.compose.ui.unit.sp @Composable fun UnwatchedEpisodeIndicator( @@ -35,9 +37,10 @@ fun UnwatchedEpisodeIndicator( .clip(CircleShape) ) { Text( - text = unwatchedCount.toString(), + text = if (unwatchedCount > 9) "9+" else unwatchedCount.toString(), color = foregroundColor.copy(alpha = 0.8f), - style = MaterialTheme.typography.bodyMedium + fontWeight = FontWeight.Bold, + fontSize = 12.sp ) } } \ No newline at end of file