Commit 63f702d5 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent e3ae11b6
...@@ -126,8 +126,8 @@ class ShaiziActivity : BaseActivity(), View.OnClickListener, ShaiziView { ...@@ -126,8 +126,8 @@ class ShaiziActivity : BaseActivity(), View.OnClickListener, ShaiziView {
R.id.tv_know -> { R.id.tv_know -> {
//向服务器传递 提现金额 骰子Id //向服务器传递 提现金额 骰子Id
if (b) shaiziPresenter.saveTerminalInfo(moneys, diceId!!) if (b) shaiziPresenter.saveTerminalInfo(moneys, diceId!!)
dialog?.dismiss()
dialog = mydialog // dialog = mydialog
} }
} }
} }
...@@ -193,7 +193,6 @@ class ShaiziActivity : BaseActivity(), View.OnClickListener, ShaiziView { ...@@ -193,7 +193,6 @@ class ShaiziActivity : BaseActivity(), View.OnClickListener, ShaiziView {
} }
override fun drawCashSuc() { override fun drawCashSuc() {
dialog?.dismiss()
finish() finish()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment