Skip to content

Commit

Permalink
fix(YouTube - Premium heading): Correct inverted logic (#3042)
Browse files Browse the repository at this point in the history
  • Loading branch information
aliernfrog authored Sep 28, 2023
1 parent 9e43670 commit b33ed75
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ object PremiumHeadingPatch : ResourcePatch() {
val resDirectory = context["res"]

val (original, replacement) = if (usePremiumHeading!!)
DEFAULT_HEADING_RES to PREMIUM_HEADING_RES
else
PREMIUM_HEADING_RES to DEFAULT_HEADING_RES
else
DEFAULT_HEADING_RES to PREMIUM_HEADING_RES

val variants = arrayOf("light", "dark")

Expand Down

0 comments on commit b33ed75

Please sign in to comment.