Skip to content

Commit

Permalink
fix(YouTube - Hide ads): Fix dimmed screen at launch by not filtering…
Browse files Browse the repository at this point in the history
… fullscreen ads
  • Loading branch information
oSumAtrIX committed Dec 29, 2023
1 parent 2c0516a commit 1a1f44d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ public boolean isFiltered(@Nullable String identifier, String path, byte[] proto

if (matchedGroup == fullscreenAd && path.contains("|ImageType|")) {
closeFullscreenAd();
return false; // Do not actually filter the fullscreen ad otherwise it will leave a dimmed screen.
}

// Check for the index because of likelihood of false positives.
Expand Down

0 comments on commit 1a1f44d

Please sign in to comment.