-
-
Notifications
You must be signed in to change notification settings - Fork 426
fix(YouTube): Simplify litho filtering patch #4910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(YouTube): Simplify litho filtering patch #4910
Conversation
patches/src/main/kotlin/app/revanced/patches/youtube/misc/litho/filter/LithoFilterPatch.kt
Outdated
Show resolved
Hide resolved
patches/src/main/kotlin/app/revanced/patches/youtube/misc/litho/filter/LithoFilterPatch.kt
Outdated
Show resolved
Hide resolved
If neither |
The identifier is the second parameter in the constructor, but in 20.12 it's not the second parameter. The commit I just pushed works for all supported targets. It basically gets the identifier field the same way it did before these fixes. |
I must have been looking at the wrong field. I'll try refactoring in a moment. |
Hmmm, with the register moves it seems kinda flaky. I think what's here is ok since it's not affected by register moves or constructor parameters changing. |
I agree, what's here is ok. |
# [5.23.0-dev.3](v5.23.0-dev.2...v5.23.0-dev.3) (2025-05-05) ### Bug Fixes * **YouTube:** Simplify litho filtering patch ([#4910](#4910)) ([bd53955](bd53955))
# [5.23.0](v5.22.0...v5.23.0) (2025-05-10) ### Bug Fixes * Correct incorrect fingerprint ([c3bab89](c3bab89)) * Fix incorrect fingerprints ([#4917](#4917)) ([49ca329](49ca329)) * **Spotify - Unlock Spotify Premium:** Remove pop up premium ads ([#4842](#4842)) ([00aa200](00aa200)) * **YouTube:** Improve litho filtering performance ([#4904](#4904)) ([7b43986](7b43986)) * **YouTube:** Simplify litho filtering patch ([#4910](#4910)) ([bd53955](bd53955)) ### Features * **Lightroom:** Constrain patches to last working version ([efef03b](efef03b)) * **Pandora:** Add `Disable audio ads` and `Unlimited skips` patch ([#4841](#4841)) ([0cf7a4c](0cf7a4c)) * **Prime Video:** Add `Skip ads` patch ([#4824](#4824)) ([bb672c4](bb672c4)) * **Spotify:** Add `Sanitize sharing links` patch ([#4829](#4829)) ([2e3511d](2e3511d))
Followup fix for #4904
Simplifies the litho patch, and fixes concurrent thread issue introduced with the last change.