Commit 57e9962c by YKai

fix:一键登录修复

parent 4f0d4453
......@@ -650,11 +650,17 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
ll_success.visibility = View.GONE
ToastUtil.toastShort("登录成功")
handler!!.postDelayed({
if (isFromGuide) {
when {
isFromGuide -> {
LoginUtils.loginSuccessOperate(this)
} else {
}
isFromOneKeyLogin -> {
LoginUtils.loginSuccessOperate(this)
}
else -> {
finish()
}
}
}, 1000)
}
......
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