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