feat: 吧务显示
This commit is contained in:
parent
140f8b84cb
commit
333b50a090
|
|
@ -35,6 +35,7 @@ import com.huanchengfly.tieba.post.R
|
|||
import com.huanchengfly.tieba.post.activities.UserActivity
|
||||
import com.huanchengfly.tieba.post.api.models.protos.SubPostList
|
||||
import com.huanchengfly.tieba.post.api.models.protos.User
|
||||
import com.huanchengfly.tieba.post.api.models.protos.bawuType
|
||||
import com.huanchengfly.tieba.post.arch.ImmutableHolder
|
||||
import com.huanchengfly.tieba.post.arch.collectPartialAsState
|
||||
import com.huanchengfly.tieba.post.arch.onEvent
|
||||
|
|
@ -425,7 +426,8 @@ private fun SubPostItem(
|
|||
author.get { nameShow }
|
||||
),
|
||||
userLevel = author.get { level_id },
|
||||
isLz = author.get { id } == threadAuthorId
|
||||
isLz = author.get { id } == threadAuthorId,
|
||||
bawuType = author.get { bawuType },
|
||||
)
|
||||
},
|
||||
desc = {
|
||||
|
|
|
|||
|
|
@ -1383,7 +1383,8 @@ fun PostCard(
|
|||
author.nameShow
|
||||
),
|
||||
userLevel = author.level_id,
|
||||
isLz = author.id == threadAuthorId
|
||||
isLz = author.id == threadAuthorId,
|
||||
bawuType = author.bawuType,
|
||||
)
|
||||
},
|
||||
desc = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue