Fix bug - 领取福利宝箱奖励后,那个置灰的领取按钮和领取前的绿色按钮大小需要一样长,不然有点奇怪

This commit is contained in:
renhaoting 2026-01-06 14:51:53 +08:00
parent 28eed14ab4
commit ccd4d7750e
2 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ class BenefitActivity : AppViewsActivity<ViewBinding, UiState, ViewModel>(), OnT
val couldClaimCashNum = taskStateHelper.getCouldClaimCashNum()
with (tvResgatar) {
if (couldClaimCashNum > 0) {
setBackgroundResource(R.mipmap.icon_but_bg_green)
setBackgroundResource(R.mipmap.bg_but_green_long)
isClickable = true
} else {
setBackgroundResource(R.mipmap.but_bg_grady)

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB