mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 13:17:46 +02:00
fix(YouTube/Custom branding icon YouTube): If the user changed to a custom icon through Patch Options
, this was not reflected in Patch Information
This commit is contained in:
@ -57,6 +57,7 @@ object CustomBrandingIconPatch : ResourcePatch() {
|
||||
.split("\n")
|
||||
.joinToString("\n") { it.trimIndent() } // Remove the leading whitespace from each line.
|
||||
.trimIndent(), // Remove the leading newline.
|
||||
required = true
|
||||
)
|
||||
|
||||
override fun execute(context: ResourceContext) {
|
||||
|
@ -103,6 +103,7 @@ object CustomBrandingIconPatch : ResourcePatch() {
|
||||
.split("\n")
|
||||
.joinToString("\n") { it.trimIndent() } // Remove the leading whitespace from each line.
|
||||
.trimIndent(), // Remove the leading newline.
|
||||
required = true
|
||||
)
|
||||
|
||||
override fun execute(context: ResourceContext) {
|
||||
@ -127,6 +128,7 @@ object CustomBrandingIconPatch : ResourcePatch() {
|
||||
)
|
||||
}
|
||||
}
|
||||
context.updatePatchStatusIcon("custom")
|
||||
}
|
||||
} else {
|
||||
val appIconValue = availableIcon[appIcon] + ""
|
||||
|
Reference in New Issue
Block a user