|
|
@@ -57,7 +57,7 @@ class LoginActivity : BaseMvpActivity<ILoginView, LoginPresenter, ActivityLoginB
|
|
|
* @param loginType 0:人脸 1:工卡 2:账号 3:指纹
|
|
|
*/
|
|
|
private fun showLoginDialog(loginType: Int) {
|
|
|
- cardLoginDialog ?: run {
|
|
|
+ if (cardLoginDialog == null || presenter == null) {
|
|
|
LogUtil.i("创建Swipe dialog : ${presenter == null}")
|
|
|
cardLoginDialog = LoginDialog(presenter, this) { isSuccess, cardInfoRespVO, userInfoRespVO ->
|
|
|
if (isSuccess) {
|