bug修复-可领取但未领取的宝箱底下的绿色框里,字不见了,这里只剩底框从红变绿而已,里面的字还是需要保留的
This commit is contained in:
parent
03b5f0fba1
commit
f78ae33ef3
|
|
@ -162,7 +162,8 @@ class BenefitActivity : AppViewsActivity<ViewBinding, UiState, ViewModel>(), OnT
|
||||||
val tvRewardIcon = getRewardTvDrawableRes(stateEnum)
|
val tvRewardIcon = getRewardTvDrawableRes(stateEnum)
|
||||||
setCompoundDrawables(ResUtil.getDrawable(tvRewardIcon), null, null, null)
|
setCompoundDrawables(ResUtil.getDrawable(tvRewardIcon), null, null, null)
|
||||||
val needShowNum = R.mipmap.icon_check_mark != tvRewardIcon
|
val needShowNum = R.mipmap.icon_check_mark != tvRewardIcon
|
||||||
setText(if (needShowNum) { ResUtil.getString(R.string.cash) + " " + curBoxState.reward_value} else "")
|
//setText(if (needShowNum) { ResUtil.getString(R.string.cash) + " " + curBoxState.reward_value} else "")
|
||||||
|
setText(ResUtil.getString(R.string.cash) + " " + curBoxState.reward_value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue