revanced-patches-template
revanced-patches-template copied to clipboard
bug: ads toggles
Type
Other
Bug description
Some general ads patches don't have a settings toggle, but just a direct setvisibility reference.
Steps to reproduce
...
Relevant log output
...
Screenshots or videos

Solution
Change setvisibility with a reference to a dedicated method inside settings.
Additional context
https://github.com/revanced/revanced-patches/blob/main/src/main/kotlin/app/revanced/patches/youtube/ad/general/bytecode/patch/GeneralBytecodeAdsPatch.kt
Please list all the patches which miss the toggle.
Please list all the patches which miss the toggle.
First comment updated with screenshot