1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-06-26 07:03:20 +00:00

Fix random NullPointerException in PlaylistFragment

This commit is contained in:
Stypox 2021-03-28 22:25:51 +02:00
parent be4d12789d
commit 3e8cba745a
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23

View File

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