@@ -55,17 +55,17 @@ abstract class MainActivity : AppCompatActivity() {
55
55
val user = Firebase .auth.currentUser
56
56
user?.let {
57
57
// Name, email address, and profile photo Url
58
- val name = user .displayName
59
- val email = user .email
60
- val photoUrl = user .photoUrl
58
+ val name = it .displayName
59
+ val email = it .email
60
+ val photoUrl = it .photoUrl
61
61
62
62
// Check if user's email is verified
63
- val emailVerified = user .isEmailVerified
63
+ val emailVerified = it .isEmailVerified
64
64
65
65
// The user's ID, unique to the Firebase project. Do NOT use this value to
66
66
// authenticate with your backend server, if you have one. Use
67
67
// FirebaseUser.getToken() instead.
68
- val uid = user .uid
68
+ val uid = it .uid
69
69
}
70
70
// [END get_user_profile]
71
71
}
@@ -533,12 +533,12 @@ abstract class MainActivity : AppCompatActivity() {
533
533
// [START games_get_user_info]
534
534
val user = auth.currentUser
535
535
user?.let {
536
- val playerName = user .displayName
536
+ val playerName = it .displayName
537
537
538
538
// The user's Id, unique to the Firebase project.
539
539
// Do NOT use this value to authenticate with your backend server, if you
540
540
// have one; use FirebaseUser.getIdToken() instead.
541
- val uid = user .uid
541
+ val uid = it .uid
542
542
}
543
543
544
544
// [END games_get_user_info]
0 commit comments