Skip to content

Commit

Permalink
fixed redirect to profileactivity once connected to spotify
Browse files Browse the repository at this point in the history
  • Loading branch information
rrhzhang committed Apr 21, 2024
1 parent 0da2299 commit 359e418
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ protected void onActivityResult(int requestCode, int resultCode, Intent data) {
Log.d("TOKEN SUCCESS", response.getAccessToken());
SpotifyManager.setAccessToken(response.getAccessToken());
SpotifyManager.getInstance(getApplicationContext()).getUserProfile(this);
Intent intent = new Intent(getApplicationContext(), ProfileActivity.class);
startActivity(intent);
}
}

Expand Down

0 comments on commit 359e418

Please sign in to comment.