Skip to content

Commit

Permalink
Fix random NullPointerException in PlaylistFragment
Browse files Browse the repository at this point in the history
  • Loading branch information
Stypox committed Mar 28, 2021
1 parent aed312d commit 4a1e2e7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,9 @@ public void onComplete() { }
@Override
public void setTitle(final String title) {
super.setTitle(title);
headerBinding.playlistTitleView.setText(title);
if (headerBinding != null) {
headerBinding.playlistTitleView.setText(title);
}
}

private void onBookmarkClicked() {
Expand Down

0 comments on commit 4a1e2e7

Please sign in to comment.