Fix bug - 领取福利宝箱奖励后,那个置灰的领取按钮和领取前的绿色按钮大小需要一样长,不然有点奇怪
This commit is contained in:
parent
28eed14ab4
commit
ccd4d7750e
|
|
@ -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 |
Loading…
Reference in New Issue