Commit 424668e8 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 2a2c6aed
......@@ -125,8 +125,12 @@ class ShaiziActivity : BaseActivity(), View.OnClickListener, ShaiziView {
when (v?.id) {
R.id.tv_know -> {
//向服务器传递 提现金额 骰子Id
if (b) shaiziPresenter.saveTerminalInfo(moneys, diceId!!)
mydialog?.dismiss()
if (b){
shaiziPresenter.saveTerminalInfo(moneys, diceId!!)
} else{
finish()
}
// dialog = mydialog
}
}
......
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