Fix artistBottomSheet opening

This commit is contained in:
CappielloAntonio 2021-07-29 17:24:55 +02:00
parent 46383b985d
commit 64cd8ed0ac

View file

@ -119,8 +119,8 @@ public class ArtistHorizontalAdapter extends RecyclerView.Adapter<ArtistHorizont
private void openMore(View view) { private void openMore(View view) {
Bundle bundle = new Bundle(); Bundle bundle = new Bundle();
bundle.putParcelable("song_object", artists.get(getBindingAdapterPosition())); bundle.putParcelable("artist_object", artists.get(getBindingAdapterPosition()));
Navigation.findNavController(view).navigate(R.id.songBottomSheetDialog, bundle); Navigation.findNavController(view).navigate(R.id.artistBottomSheetDialog, bundle);
} }
} }
} }