SponsorBlock: Forgot another pesky null check...
This commit is contained in:
parent
4bfd2b0bd5
commit
983078168c
1 changed files with 1 additions and 1 deletions
|
@ -870,7 +870,7 @@ public class VideoPlayerImpl extends VideoPlayer
|
|||
fragmentListener.onMoreOptionsLongClicked();
|
||||
hideControls(0, 0);
|
||||
hideSystemUIIfNeeded();
|
||||
} else if (v.getId() == blockSponsorsButton.getId()) {
|
||||
} else if (blockSponsorsButton != null && v.getId() == blockSponsorsButton.getId()) {
|
||||
final MediaSourceTag currentMetadata = getCurrentMetadata();
|
||||
if (currentMetadata == null) {
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue