mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-01-05 17:45:49 +01:00
fix(YouTube - Hide ads): Fix dimmed screen at launch by not filtering fullscreen ads
This commit is contained in:
parent
2c0516a601
commit
1a1f44d235
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user