Update SearchAdapter.kt

This commit is contained in:
Hemanth S 2020-09-27 03:03:56 +05:30
parent 209e3d58eb
commit b78cbb60b4

View file

@ -165,8 +165,8 @@ class SearchAdapter(
} }
PLAYLIST -> { PLAYLIST -> {
activity.findNavController(R.id.fragment_container).navigate( activity.findNavController(R.id.fragment_container).navigate(
R.id.artistDetailsFragment, R.id.playlistDetailsFragment,
bundleOf(EXTRA_PLAYLIST to (item as Playlist)) bundleOf(EXTRA_PLAYLIST to (item as PlaylistWithSongs))
) )
} }
SONG -> { SONG -> {