From 2155a33689c0b87f7c3700c6febda29da5dacf99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=8E=89=E4=B9=85?= <1484288157@qq.com> Date: Thu, 11 Jun 2020 15:21:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E4=B8=AA=E4=BA=BA=E4=B8=BB?= =?UTF-8?q?=E9=A1=B5=E6=96=87=E7=AB=A0=E5=85=B3=E9=97=AD=E8=AF=84=E8=AE=BA?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/gh/gamecenter/entity/PersonalHistoryEntity.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/gh/gamecenter/entity/PersonalHistoryEntity.kt b/app/src/main/java/com/gh/gamecenter/entity/PersonalHistoryEntity.kt index 44008ccab0..b94ab164c3 100644 --- a/app/src/main/java/com/gh/gamecenter/entity/PersonalHistoryEntity.kt +++ b/app/src/main/java/com/gh/gamecenter/entity/PersonalHistoryEntity.kt @@ -27,7 +27,8 @@ data class PersonalHistoryEntity( var foldUsers: List? = null, val images: List = ArrayList(), val me: MeEntity = MeEntity(), - var comment: Comment = Comment()) : Parcelable { + var comment: Comment = Comment(), + var commentable: Boolean = true) : Parcelable { fun getPassVideos(): List { val passVideos = arrayListOf() @@ -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" }