Skip to content

Commit

Permalink
Merge pull request #189 from Vacxe/patch-2
Browse files Browse the repository at this point in the history
Code style improvement
  • Loading branch information
mdelolmo authored Jan 9, 2020
2 parents feb9faf + c6c6519 commit ca9c795
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
final AuthenticationResponse response = AuthenticationClient.getResponse(resultCode, data);

if (AUTH_TOKEN_REQUEST_CODE == requestCode) {
if (requestCode == AUTH_TOKEN_REQUEST_CODE) {
mAccessToken = response.getAccessToken();
updateTokenView();
} else if (AUTH_CODE_REQUEST_CODE == requestCode) {
} else if (requestCode == AUTH_CODE_REQUEST_CODE) {
mAccessCode = response.getCode();
updateCodeView();
}
Expand Down

0 comments on commit ca9c795

Please sign in to comment.