dialog中使用mActivty

This commit is contained in:
renhaoting 2025-11-28 11:06:25 +08:00
parent 9efe53bf0d
commit b099f4cd99
7 changed files with 7 additions and 7 deletions

View File

@ -49,7 +49,7 @@ class WithdrawInfoConfirmDialog(context: Activity) : BindingDialog<ViewBinding>(
private fun gotoWatchVideo() { private fun gotoWatchVideo() {
ownerActivity?.let { Router.Withdraw.startActivity(it) } Router.Withdraw.startActivity(mActivity)
} }

View File

@ -47,7 +47,7 @@ class WithdrawWatchAdDialog(context: Activity) : BindingDialog<ViewBinding>(cont
private fun gotoWatchVideo() { private fun gotoWatchVideo() {
// TODO - // TODO -
//ownerActivity?.let { Router.Withdraw.startActivity(it) } //Router.Withdraw.startActivity(mActivity)
WithdrawFailDialog(mActivity).show() WithdrawFailDialog(mActivity).show()
WithdrawSuccessDialog(mActivity).show() WithdrawSuccessDialog(mActivity).show()

View File

@ -34,7 +34,7 @@ class ZeroBuyFailDialog(context: Activity) : BindingDialog<ViewBinding>(context,
} }
private fun gotoWatchVideo() { private fun gotoWatchVideo() {
ownerActivity?.let { Router.Withdraw.startActivity(it) } Router.Withdraw.startActivity(mActivity)
} }

View File

@ -34,7 +34,7 @@ class ZeroBuyNotWinDialog(context: Activity) : BindingDialog<ViewBinding>(contex
} }
private fun gotoWatchVideo() { private fun gotoWatchVideo() {
ownerActivity?.let { Router.Withdraw.startActivity(it) } Router.Withdraw.startActivity(mActivity)
} }

View File

@ -34,7 +34,7 @@ class ZeroBuyRulesDialog(context: Activity) : BindingDialog<ViewBinding>(context
} }
private fun gotoWatchVideo() { private fun gotoWatchVideo() {
ownerActivity?.let { Router.Withdraw.startActivity(it) } Router.Withdraw.startActivity(mActivity)
} }

View File

@ -34,7 +34,7 @@ class ZeroBuyWinDialog(context: Activity) : BindingDialog<ViewBinding>(context,
} }
private fun gotoWatchVideo() { private fun gotoWatchVideo() {
ownerActivity?.let { Router.Withdraw.startActivity(it) } Router.Withdraw.startActivity(mActivity)
} }

View File

@ -34,7 +34,7 @@ class BeginnerGiftDialog(activity: Activity) : BindingDialog<DialogBeginnerGiftB
} }
private fun gotoWatchVideo() { private fun gotoWatchVideo() {
ownerActivity?.let { Router.Withdraw.startActivity(it) } Router.Withdraw.startActivity(mActivity)
} }