fix: 无标题贴子重复显示标题
This commit is contained in:
parent
4c35d3afa8
commit
d1a40fa4a1
|
|
@ -1621,7 +1621,7 @@ fun PostCard(
|
|||
val paddingModifier = Modifier.padding(start = if (hasPadding) Sizes.Small + 8.dp else 0.dp)
|
||||
val author = postHolder.get { author!! }
|
||||
val showTitle = remember(postHolder) {
|
||||
post.title.isNotBlank() && post.floor <= 1
|
||||
post.title.isNotBlank() && post.floor <= 1 && post.is_ntitle != 1
|
||||
}
|
||||
val hasAgreed = remember(postHolder) {
|
||||
post.agree?.hasAgree == 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue