Fix issue #68 - Videos in unlisted playlists cannot be displayed

This commit is contained in:
Thomas 2020-11-15 09:54:55 +01:00
parent 73cd48b94a
commit 02cd267cae
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ public class PlaylistsActivity extends AppCompatActivity {
DisplayVideosFragment displayVideosFragment = new DisplayVideosFragment(); DisplayVideosFragment displayVideosFragment = new DisplayVideosFragment();
Bundle bundle = new Bundle(); Bundle bundle = new Bundle();
bundle.putSerializable(Helper.TIMELINE_TYPE, TimelineVM.TimelineType.VIDEOS_IN_PLAYLIST); bundle.putSerializable(Helper.TIMELINE_TYPE, TimelineVM.TimelineType.VIDEOS_IN_PLAYLIST);
bundle.putSerializable("playlistId", playlist.getId()); bundle.putSerializable("playlistId", playlist.getUuid());
displayVideosFragment.setArguments(bundle); displayVideosFragment.setArguments(bundle);
FragmentTransaction ft = getSupportFragmentManager().beginTransaction(); FragmentTransaction ft = getSupportFragmentManager().beginTransaction();
ft.add(R.id.nav_host_fragment, displayVideosFragment).commit(); ft.add(R.id.nav_host_fragment, displayVideosFragment).commit();