Skip to content

Commit 393f900

Browse files
committed
Fix bug where starting the email flow would show a useless progress dialog
1 parent 8565d50 commit 393f900

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

auth/src/main/java/com/firebase/ui/auth/ui/idp/AuthMethodPickerActivity.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ private void populateIdpList(List<IdpConfig> providers) {
114114
loginButton.setOnClickListener(new View.OnClickListener() {
115115
@Override
116116
public void onClick(View view) {
117-
mActivityHelper.showLoadingDialog(R.string.progress_dialog_loading);
117+
if (provider instanceof IdpProvider) {
118+
mActivityHelper.showLoadingDialog(R.string.progress_dialog_loading);
119+
}
118120
provider.startLogin(AuthMethodPickerActivity.this);
119121
}
120122
});

0 commit comments

Comments
 (0)