Fix random NullPointerException in PlaylistFragment

This commit is contained in:
Stypox 2021-03-28 22:25:51 +02:00
parent 9f4fd09cfc
commit 858361f0bb

View file

@ -423,7 +423,9 @@ public class PlaylistFragment extends BaseListInfoFragment<PlaylistInfo> {
@Override @Override
public void setTitle(final String title) { public void setTitle(final String title) {
super.setTitle(title); super.setTitle(title);
headerBinding.playlistTitleView.setText(title); if (headerBinding != null) {
headerBinding.playlistTitleView.setText(title);
}
} }
private void onBookmarkClicked() { private void onBookmarkClicked() {