revanced-patches-template
revanced-patches-template copied to clipboard
feat: `channel infos` and `comments filter bar` amoled
🐞 Issue
Despite amoled patch is applied, comments filter bar and channel infos panel are still based on dark theme.
❗ Solution
This patch is based on latest YouTube Beta 17.29.33 (but ReVanced patcher should be able to dinamically adapt it for latest Stable as well) --->
On file obo.smali, at method onBoundsChange, there is a setColor instruction with a color value managed by register P1.
Just put the following code before setColor instruction, to align the elements to amoled palette --->
const {UNUSEDREGISTER}, -0xdededf
if-ne {UNUSEDREGISTER}, p1, :cond_lithorecolorset
const/4 p1, 0x0
:cond_lithorecolorset
@OxrxL What is the equivalent for the version from the docs?
@OxrxL What is the equivalent for the version from the docs?
17.28.34: nzo.smali
@OxrxL What is the equivalent for the version from the docs?
17.29.34: obo.smali