修复游戏列表和游戏详情评分数值不一致的问题
This commit is contained in:
@ -681,7 +681,7 @@ class GameDetailFragment : NormalFragment() {
|
||||
ratingScoreContainer.goneIf(!mNewGameDetailEntity!!.showComment)
|
||||
if (mNewGameDetailEntity!!.commentCount > 3) {
|
||||
ratingScoreAverage.textSize = 18f
|
||||
ratingScoreAverage.text = if (mNewGameDetailEntity!!.newStar == 10F) "10" else mNewGameDetailEntity!!.newStar.toString()
|
||||
ratingScoreAverage.text = if (mGameEntity?.star == 10F) "10" else mGameEntity?.star.toString()
|
||||
} else {
|
||||
ratingScoreAverage.textSize = 8f
|
||||
ratingScoreAverage.text = "评分过少"
|
||||
|
||||
Reference in New Issue
Block a user