check 有结果时,发送事件通知,以便显示dialog
This commit is contained in:
parent
ca097b392e
commit
9dde21580f
|
|
@ -103,8 +103,13 @@ class ZeroBuyActivity : AppViewsEmptyViewModelActivity<ViewBinding>() {
|
|||
VididinEvents.Event_Account_Diamond_Changed -> {
|
||||
updateUIDiamondNum()
|
||||
}
|
||||
|
||||
VididinEvents.EVENT_ZERO_WITHDRAW_LIST_CHANGED -> {
|
||||
checkPreWithdrawWaitNotifyResult()
|
||||
}
|
||||
}
|
||||
}, VididinEvents.Event_Account_Diamond_Changed)
|
||||
}, VididinEvents.Event_Account_Diamond_Changed,
|
||||
VididinEvents.EVENT_ZERO_WITHDRAW_LIST_CHANGED)
|
||||
|
||||
requestData()
|
||||
|
||||
|
|
|
|||
|
|
@ -239,6 +239,7 @@ class ZeroManager private constructor() {
|
|||
zeroWithdrawItem.withdrawState = TRANSACTION_STATE_SUCCESS
|
||||
saveWinWithdrawInfos()
|
||||
|
||||
notifyChangeUpdate()
|
||||
AndroidUtil.showToast(R.string.zero_withdraw_ongoing)
|
||||
return@launch
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue