Fix random NullPointerException in PlaylistFragment
This commit is contained in:
parent
be4d12789d
commit
3e8cba745a
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue