Skip to content

Commit 42962fc

Browse files
committed
this refers to an app, not to an activity
1 parent e30cb24 commit 42962fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

auth/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ can be started as follows:
125125

126126
```
127127
startActivityForResult(
128-
// Get an instance of AuthUI based on the current activity (`this` in the line below)
129-
AuthUI.getInstance(this).createSignInIntentBuilder().build(),
128+
// Get an instance of AuthUI based on the default app
129+
AuthUI.getInstance().createSignInIntentBuilder().build(),
130130
RC_SIGN_IN);
131131
```
132132

0 commit comments

Comments
 (0)