fix(YouTube - Premium heading): Correct inverted logic (#3042)

This commit is contained in:
aliernfrog 2023-09-28 19:07:55 +03:00 committed by GitHub
parent 9e43670b44
commit b33ed75737
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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")