mirror of
https://github.com/revanced/revanced-patches
synced 2025-01-08 12:35:51 +01:00
fix(YouTube - Premium heading): Correct inverted logic (#3042)
This commit is contained in:
parent
9e43670b44
commit
b33ed75737
@ -32,9 +32,9 @@ object PremiumHeadingPatch : ResourcePatch() {
|
|||||||
val resDirectory = context["res"]
|
val resDirectory = context["res"]
|
||||||
|
|
||||||
val (original, replacement) = if (usePremiumHeading!!)
|
val (original, replacement) = if (usePremiumHeading!!)
|
||||||
DEFAULT_HEADING_RES to PREMIUM_HEADING_RES
|
|
||||||
else
|
|
||||||
PREMIUM_HEADING_RES to DEFAULT_HEADING_RES
|
PREMIUM_HEADING_RES to DEFAULT_HEADING_RES
|
||||||
|
else
|
||||||
|
DEFAULT_HEADING_RES to PREMIUM_HEADING_RES
|
||||||
|
|
||||||
val variants = arrayOf("light", "dark")
|
val variants = arrayOf("light", "dark")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user