Commit f54cbd9c by 刘鹏

feat: 注销登录toast延长提示

parent 234f1074
...@@ -66,11 +66,11 @@ class AccountUnRegisterActivity : BaseActivity() { ...@@ -66,11 +66,11 @@ class AccountUnRegisterActivity : BaseActivity() {
.observeOn(AndroidSchedulers.mainThread()) .observeOn(AndroidSchedulers.mainThread())
.subscribe { .subscribe {
if (it.code == "200" && !isFinishing && it.data) { if (it.code == "200" && !isFinishing && it.data) {
ToastUtil.toastShort("账号已注销") ToastUtil.toastLong(this@AccountUnRegisterActivity,"账号已注销")
EventBus.getDefault().post(UnRegisterEvent()) EventBus.getDefault().post(UnRegisterEvent())
finish() finish()
} else { } else {
ToastUtil.toastShort(it.msg) ToastUtil.toastLong(this@AccountUnRegisterActivity,it.msg)
} }
} }
......
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