Skip to content

Commit 07ae798

Browse files
authored
Update auth/README.md
1 parent ef8c0d4 commit 07ae798

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

auth/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ replaced with:
135135

136136
```
137137
startActivityForResult(
138-
AuthUI.getInstance(this)
138+
AuthUI.getInstance()
139139
.createSignInIntentBuilder()
140140
.setProviders(
141141
AuthUI.EMAIL_PROVIDER,
@@ -149,7 +149,7 @@ Finally, if a terms of service URL and a custom theme are required:
149149

150150
```
151151
startActivityForResult(
152-
AuthUI.getInstance(this)
152+
AuthUI.getInstance()
153153
.createSignInIntentBuilder()
154154
.setProviders(...)
155155
.setTosUrl("https://superapp.example.com/terms-of-service.html")
@@ -210,7 +210,7 @@ completed once all necessary sign-out operations are completed:
210210
```
211211
public void onClick(View v) {
212212
if (v.getId() == R.id.sign_out) {
213-
AuthUI.getInstance(this)
213+
AuthUI.getInstance()
214214
.signOut(this)
215215
.addOnCompleteListener(new OnCompleteListener<Void>() {
216216
public void onComplete(@NonNull Task<Void> task) {

0 commit comments

Comments
 (0)