check 有结果时,发送事件通知,以便显示dialog

This commit is contained in:
renhaoting 2025-12-26 11:18:43 +08:00
parent ca097b392e
commit 9dde21580f
2 changed files with 7 additions and 1 deletions

View File

@ -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()

View File

@ -239,6 +239,7 @@ class ZeroManager private constructor() {
zeroWithdrawItem.withdrawState = TRANSACTION_STATE_SUCCESS
saveWinWithdrawInfos()
notifyChangeUpdate()
AndroidUtil.showToast(R.string.zero_withdraw_ongoing)
return@launch
}