Skip to content
Snippets Groups Projects
Commit eaedaff8 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Hide playlist on click

parent 392d63c9
No related branches found
No related tags found
No related merge requests found
......@@ -543,8 +543,10 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
updateSeekable(mService.isSeekable());
updatePausable(mService.isPausable());
mTitle.setText(mService.getCurrentMediaWrapper().getTitle());
if (mPlaylist.getVisibility() == View.VISIBLE)
if (mPlaylist.getVisibility() == View.VISIBLE) {
mPlaylistAdapter.setCurrentIndex(mService.getCurrentMediaPosition());
mPlaylist.setVisibility(View.GONE);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment