处理个人主页文章关闭评论显示问题
This commit is contained in:
@ -27,7 +27,8 @@ data class PersonalHistoryEntity(
|
||||
var foldUsers: List<UserEntity>? = null,
|
||||
val images: List<String> = ArrayList(),
|
||||
val me: MeEntity = MeEntity(),
|
||||
var comment: Comment = Comment()) : Parcelable {
|
||||
var comment: Comment = Comment(),
|
||||
var commentable: Boolean = true) : Parcelable {
|
||||
|
||||
fun getPassVideos(): List<CommunityVideoEntity> {
|
||||
val passVideos = arrayListOf<CommunityVideoEntity>()
|
||||
@ -93,6 +94,7 @@ data class PersonalHistoryEntity(
|
||||
answer.vote = count.vote
|
||||
answer.commentCount = count.comment
|
||||
answer.me = me
|
||||
answer.commentable = commentable
|
||||
if (type.contains("article")) {
|
||||
answer.type = "community_article"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user