mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 05:07:41 +02:00
Revert "feat(YouTube/Custom branding icon): add patch option `YouTube (Minima…" (#86)
This reverts commit 29f4e06f75
.
This commit is contained in:
@ -30,8 +30,7 @@ object CustomBrandingIconPatch : BaseResourcePatch(
|
||||
"MMT" to "mmt",
|
||||
"Revancify Blue" to DEFAULT_ICON,
|
||||
"Revancify Red" to "revancify_red",
|
||||
"YouTube" to "youtube",
|
||||
"YouTube (Minimal header)" to "youtube_minimal_header"
|
||||
"YouTube" to "youtube"
|
||||
)
|
||||
|
||||
private val sizeArray = arrayOf(
|
||||
|
@ -32,7 +32,6 @@ object VisualPreferencesIconsPatch : BaseResourcePatch(
|
||||
"Custom branding icon" to "custom_branding_icon",
|
||||
"Extension" to DEFAULT_ICON,
|
||||
"Gear" to "gear",
|
||||
"YT alt" to "yt_alt",
|
||||
"ReVanced" to "revanced",
|
||||
"ReVanced Colored" to "revanced_colored",
|
||||
),
|
||||
|
@ -27,8 +27,6 @@ fun PatchOption<String>.lowerCaseOrThrow() = valueOrThrow()
|
||||
|
||||
fun PatchOption<String>.underBarOrThrow() = lowerCaseOrThrow()
|
||||
.replace(" ", "_")
|
||||
.replace("(", "")
|
||||
.replace(")", "")
|
||||
|
||||
fun Node.adoptChild(tagName: String, block: Element.() -> Unit) {
|
||||
val child = ownerDocument.createElement(tagName)
|
||||
|
Reference in New Issue
Block a user