feat: 搜索页面专区文案修改—客户端 https://jira.shanqu.cc/browse/GHZS-5075

This commit is contained in:
叶子维
2024-04-10 15:50:54 +08:00
parent 6ab10a0eee
commit 2e03e9f4f5
2 changed files with 2 additions and 3 deletions

View File

@ -27,7 +27,6 @@ import com.gh.gamecenter.common.constant.Constants
import com.gh.gamecenter.common.constant.ItemViewType
import com.gh.gamecenter.common.exposure.ExposureSource
import com.gh.gamecenter.common.utils.*
import com.gh.gamecenter.core.utils.EmptyCallback
import com.gh.gamecenter.core.utils.SPUtils
import com.gh.gamecenter.core.utils.StringUtils
import com.gh.gamecenter.databinding.FmSearchHistoryItemBinding
@ -221,7 +220,7 @@ class SearchGameIndexAdapter(
val zoneView = getContentTagView(
R.drawable.ic_label_zone,
"",
"攻略",
gameEntity.contentTag!!.zone.customName.ifEmpty { "攻略" },
tagWidth,
if (tagContainer.childCount == 3) 0 else 8F.dip2px()
) {

View File

@ -501,7 +501,7 @@ class SearchGameResultAdapter(
val zoneView = getContentTagView(
R.drawable.ic_label_zone,
"",
"攻略",
gameEntity.contentTag!!.zone.customName.ifEmpty { "攻略" },
tagWidth,
if (tagContainer.childCount == 3) 0 else 8F.dip2px(),
layoutInflater