Skip to content

Commit

Permalink
Revert "feat(YouTube/Custom branding icon): add patch option `YouTube…
Browse files Browse the repository at this point in the history
… (Minima…" (inotia00#86)

This reverts commit 29f4e06.
  • Loading branch information
inotia00 authored Sep 30, 2024
1 parent 191fd6d commit 24395de
Show file tree
Hide file tree
Showing 49 changed files with 9,614 additions and 478 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
),
Expand Down
2 changes: 0 additions & 2 deletions src/main/kotlin/app/revanced/util/ResourceUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 24395de

Please sign in to comment.