Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
moneytoo committed Apr 14, 2021
1 parent dda728a commit 7f56ae7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public boolean tap() {
if (!PlayerActivity.controllerVisibleFully) {
showController();
return true;
} else if (PlayerActivity.haveMedia && PlayerActivity.player.isPlaying()) {
} else if (PlayerActivity.haveMedia && PlayerActivity.player != null && PlayerActivity.player.isPlaying()) {
hideController();
return true;
}
Expand Down

0 comments on commit 7f56ae7

Please sign in to comment.