Commit 578c64b7 by 霍志良

Merge branch 'feat/zl_4397fixonkeylogin' into 'd/v4.3.97'

feat:一键登录 Token失败情况下增加Toast

See merge request app_android_lib/YDL-Component!157
parents d78288df 07d050d1
...@@ -12,6 +12,7 @@ import android.view.View ...@@ -12,6 +12,7 @@ import android.view.View
import android.widget.ImageView import android.widget.ImageView
import android.widget.RelativeLayout import android.widget.RelativeLayout
import android.widget.TextView import android.widget.TextView
import com.blankj.utilcode.util.ToastUtils
import com.mobile.auth.gatewayauth.* import com.mobile.auth.gatewayauth.*
import com.mobile.auth.gatewayauth.model.TokenRet import com.mobile.auth.gatewayauth.model.TokenRet
import com.ydl.ydlcommon.base.BaseActivity import com.ydl.ydlcommon.base.BaseActivity
...@@ -535,6 +536,7 @@ object OneKeyLoginHelp { ...@@ -535,6 +536,7 @@ object OneKeyLoginHelp {
// } // }
} }
else -> { // 其它失败原因 else -> { // 其它失败原因
ToastUtils.showShort("您的网络环境较差,请输入手机号码进行登录。")
mPhoneNumberAuthHelper?.hideLoginLoading() mPhoneNumberAuthHelper?.hideLoginLoading()
// 跳转到原生登录界面 // 跳转到原生登录界面
mActivity.runOnUiThread { mActivity.runOnUiThread {
......
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