0
0
mirror of https://github.com/MuntashirAkon/Metro.git synced 2024-09-20 12:02:20 +02:00

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 -> {