Skip to content

Commit 4e30b35

Browse files
author
Iain McGinniss
committed
Remove "yolo" term from source
Change-Id: I11e72585caf33aa139eeaa32974eebdaa27dea7c
1 parent f487ce8 commit 4e30b35

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

auth/src/main/java/com/firebase/ui/auth/ui/account_link/WelcomeBackPasswordPrompt.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,14 @@
4040
import com.firebase.ui.auth.ui.email.PasswordToggler;
4141
import com.firebase.ui.auth.ui.email.RecoverPasswordActivity;
4242
import com.google.android.gms.tasks.OnCompleteListener;
43-
import com.google.android.gms.tasks.OnFailureListener;
4443
import com.google.android.gms.tasks.Task;
4544
import com.google.firebase.auth.AuthCredential;
4645
import com.google.firebase.auth.AuthResult;
4746
import com.google.firebase.auth.FirebaseAuth;
4847
import com.google.firebase.auth.FirebaseUser;
4948

5049
public class WelcomeBackPasswordPrompt extends AppCompatBase implements View.OnClickListener {
51-
private static final int RC_YOLO_SAVE = 3;
50+
private static final int RC_CREDENTIAL_SAVE = 3;
5251
final StyleSpan bold = new StyleSpan(Typeface.BOLD);
5352
private String mEmail;
5453
private TextInputLayout mPasswordLayout;
@@ -99,7 +98,7 @@ public void onClick(View view) {
9998
@Override
10099
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
101100
super.onActivityResult(requestCode, resultCode, data);
102-
if (requestCode == RC_YOLO_SAVE) {
101+
if (requestCode == RC_CREDENTIAL_SAVE) {
103102
finish(RESULT_OK, new Intent());
104103
}
105104
}
@@ -136,7 +135,7 @@ public void onComplete(@NonNull Task<AuthResult> task) {
136135
password,
137136
null,
138137
photoUrl
139-
), RC_YOLO_SAVE);
138+
), RC_CREDENTIAL_SAVE);
140139
}
141140
}
142141
);

0 commit comments

Comments
 (0)