光环助手V3.6.4 DEV(20190517-1020)测试问题汇总(游戏评分)(补充)

This commit is contained in:
kehaoyuan
2019-05-24 11:25:26 +08:00
parent 786a803793
commit 184c56aac5
4 changed files with 7 additions and 3 deletions

View File

@ -558,7 +558,7 @@ public class GameDetailFragment extends NormalFragment {
ratingScoreAverage.setText(star.getAverage() == 10.0 ? "10" : String.valueOf(star.getAverage()));
ratingScoreAverage.setTextSize(18F);
} else {
ratingScoreAverage.setText("过少");
ratingScoreAverage.setText("过少");
ratingScoreAverage.setTextSize(10F);
}

View File

@ -13,6 +13,7 @@ import com.gh.common.constant.Constants
import com.gh.common.constant.ItemViewType
import com.gh.common.util.*
import com.gh.download.DownloadManager
import com.gh.gamecenter.GameDetailActivity
import com.gh.gamecenter.PersonalHomeActivity
import com.gh.gamecenter.R
import com.gh.gamecenter.adapter.viewholder.FooterViewHolder
@ -116,6 +117,9 @@ class RatingReplyAdapter(context: Context,
is RatingReplyHeadItemViewHolder -> {
val game = mEntityList[position].game!!
holder.binding.game = game
holder.itemView.setOnClickListener {
GameDetailActivity.startGameDetailActivity(mContext, game, BaseActivity.mergeEntranceAndPath(entrance, path))
}
holder.binding.gameDownload.run {
DownloadItemUtils.setOnClickListener(mContext, this,
game, 0, this@RatingReplyAdapter,

View File

@ -61,7 +61,7 @@ class RatingEditActivity : BaseActivity() {
toast("请先给游戏打分")
return
}
val content = mBinding?.content?.text.toString()
val content = mBinding?.content?.text.toString().trim()
if (TextUtils.isEmpty(content)) {
toast("请填写评论内容")
return

View File

@ -595,5 +595,5 @@
<string name = "game_comment_reply_name" >%1$s<Data ><![CDATA[<font color="#9a9a9a"> 回复 </font>]]></Data >%2$s</string >
<string name = "game_comment_reply_content" ><Data ><![CDATA[<font color="#3a3a3a">%1$s:</font>]]></Data >%2$s</string >
<string name = "game_comment_reply_content" ><Data ><![CDATA[<font color="#3a3a3a">%1$s </font>]]></Data >%2$s</string >
</resources >