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 -> {
activity.findNavController(R.id.fragment_container).navigate(
R.id.artistDetailsFragment,
bundleOf(EXTRA_PLAYLIST to (item as Playlist))
R.id.playlistDetailsFragment,
bundleOf(EXTRA_PLAYLIST to (item as PlaylistWithSongs))
)
}
SONG -> {