feat: 贴子标题展示分类
This commit is contained in:
parent
6d543869d4
commit
d0c558fec5
|
|
@ -202,6 +202,17 @@ private val ThreadTitle: @Composable ColumnScope.(ThreadInfo) -> Unit = {
|
||||||
append(" ")
|
append(" ")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (it.tabName.isNotBlank()) {
|
||||||
|
withStyle(
|
||||||
|
style = SpanStyle(
|
||||||
|
fontWeight = FontWeight.Bold,
|
||||||
|
)
|
||||||
|
) {
|
||||||
|
append(it.tabName)
|
||||||
|
}
|
||||||
|
append(" | ")
|
||||||
|
}
|
||||||
|
|
||||||
append(it.title)
|
append(it.title)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -223,7 +234,6 @@ fun FeedCard(
|
||||||
onAgree: () -> Unit,
|
onAgree: () -> Unit,
|
||||||
dislikeAction: @Composable () -> Unit = {},
|
dislikeAction: @Composable () -> Unit = {},
|
||||||
) {
|
) {
|
||||||
val context = LocalContext.current
|
|
||||||
Card(
|
Card(
|
||||||
header = {
|
header = {
|
||||||
if (item.author != null) {
|
if (item.author != null) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue