|
|
@@ -194,11 +194,8 @@ class GameIntroductionActivity :
|
|
|
if (isEnterGame) {
|
|
|
val exitGameDialog = ExitGameDialog()
|
|
|
exitGameDialog.onDialogClickListener = {
|
|
|
- if (homePage) {
|
|
|
- JumpUtil.jumpActivity(RouterUrlCommon.home, mContext)
|
|
|
- } else {
|
|
|
- JumpUtil.jumpActivity(RouterUrlCommon.freeTrain, mContext)
|
|
|
- }
|
|
|
+ LiveEventBusUtil.send(RxBusCodes.CALLQUITGAME, "")
|
|
|
+ finish()
|
|
|
}
|
|
|
exitGameDialog.show(supportFragmentManager, "exitGameDialog")
|
|
|
} else {
|