mirror of
https://github.com/revanced/revanced-patches
synced 2025-02-12 02:36:50 +01:00
fix(YouTube - Hide ads): Do not leave screen at launch non interactable when hiding fullscreen ads
This commit is contained in:
parent
73d299086d
commit
fa2b77a120
@ -132,8 +132,9 @@ public final class AdsFilter extends Filter {
|
||||
if (exceptions.matches(path))
|
||||
return false;
|
||||
|
||||
if (matchedGroup == fullscreenAd && path.contains("|ImageType|")) {
|
||||
closeFullscreenAd();
|
||||
if (matchedGroup == fullscreenAd) {
|
||||
if (path.contains("|ImageType|")) closeFullscreenAd();
|
||||
|
||||
return false; // Do not actually filter the fullscreen ad otherwise it will leave a dimmed screen.
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user