fix(YouTube - Hide ads): Fix dimmed screen at launch by not filtering fullscreen ads

This commit is contained in:
oSumAtrIX 2023-12-29 20:45:20 +01:00
parent 2c0516a601
commit 1a1f44d235
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -134,6 +134,7 @@ public final class AdsFilter extends Filter {
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.