diff --git a/app/src/main/java/com/huanchengfly/tieba/post/ui/widgets/compose/FeedCard.kt b/app/src/main/java/com/huanchengfly/tieba/post/ui/widgets/compose/FeedCard.kt index b5100159..674de27a 100644 --- a/app/src/main/java/com/huanchengfly/tieba/post/ui/widgets/compose/FeedCard.kt +++ b/app/src/main/java/com/huanchengfly/tieba/post/ui/widgets/compose/FeedCard.kt @@ -202,6 +202,17 @@ private val ThreadTitle: @Composable ColumnScope.(ThreadInfo) -> Unit = { append(" ") } + if (it.tabName.isNotBlank()) { + withStyle( + style = SpanStyle( + fontWeight = FontWeight.Bold, + ) + ) { + append(it.tabName) + } + append(" | ") + } + append(it.title) } @@ -223,7 +234,6 @@ fun FeedCard( onAgree: () -> Unit, dislikeAction: @Composable () -> Unit = {}, ) { - val context = LocalContext.current Card( header = { if (item.author != null) {