feat: 贴子标题展示分类

This commit is contained in:
HuanCheng65 2023-01-24 13:37:45 +08:00
parent 6d543869d4
commit d0c558fec5
No known key found for this signature in database
GPG Key ID: E9031EF91A805148
1 changed files with 11 additions and 1 deletions

View File

@ -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) {