Skip to content

Commit 4e3a2ae

Browse files
committed
Fix comments on PR
1 parent 174ffa4 commit 4e3a2ae

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

fundamentals/android/auth-SiWG/Notes/app/src/main/java/com/notes/app/screens/account_center/AccountCenterButtons.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,7 @@ fun AuthenticationButton(
187187
.setServerClientId(context.getString(R.string.default_web_client_id))
188188
.build()
189189

190-
val request = GetCredentialRequest
191-
.Builder()
190+
val request = GetCredentialRequest.Builder()
192191
.addCredentialOption(googleIdOption)
193192
.build()
194193

fundamentals/android/auth-SiWG/Notes/app/src/main/java/com/notes/app/screens/sign_in/SignInViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class SignInViewModel @Inject constructor(
5151
accountService.signInWithGoogle(googleIdTokenCredential.idToken)
5252
openAndPopUp(NOTES_LIST_SCREEN, SIGN_IN_SCREEN)
5353
} else {
54-
Log.d(ERROR_TAG, UNEXPECTED_CREDENTIAL)
54+
Log.e(ERROR_TAG, UNEXPECTED_CREDENTIAL)
5555
}
5656
}
5757
}

fundamentals/android/auth-SiWG/Notes/app/src/main/java/com/notes/app/screens/sign_up/SignUpViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class SignUpViewModel @Inject constructor(
6969
accountService.linkAccountWithGoogle(googleIdTokenCredential.idToken)
7070
openAndPopUp(NOTES_LIST_SCREEN, SIGN_UP_SCREEN)
7171
} else {
72-
Log.d(ERROR_TAG, UNEXPECTED_CREDENTIAL)
72+
Log.e(ERROR_TAG, UNEXPECTED_CREDENTIAL)
7373
}
7474
}
7575
}

0 commit comments

Comments
 (0)