Commit f54cbd9c by 刘鹏

feat: 注销登录toast延长提示

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