|
@@ -40,6 +40,7 @@ class LoginBView @JvmOverloads constructor(
|
|
|
|
|
|
private fun setupEmailLoginBtn() {
|
|
|
view_loginB_emailLogin.setOnClickListener {
|
|
|
+ view_loginB_emailLogin.isEnabled = false
|
|
|
val dialog = AlertDialog.Builder(context)
|
|
|
.setView(view)
|
|
|
.setOnDismissListener {
|
|
@@ -52,6 +53,7 @@ class LoginBView @JvmOverloads constructor(
|
|
|
requestFocus()
|
|
|
inputMethodManager.hideSoftInputFromWindow(windowToken, 0)
|
|
|
}
|
|
|
+ view_loginB_emailLogin.isEnabled = true
|
|
|
}
|
|
|
.show()
|
|
|
|