mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-06 09:34:37 +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:
parent
a9c062cbce
commit
8b87bc72a9
@ -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] + ""
|
||||
|
@ -67,6 +67,7 @@ Since it hasn't been tested, it most likely won't work."</string>
|
||||
<string name="revanced_hide_subscriptions_button_title">@string/revanced_hide_shorts_player_subscriptions_button_title</string>
|
||||
|
||||
<string name="revanced_header_default">Stock</string>
|
||||
<string name="revanced_icon_custom">Custom</string>
|
||||
<string name="revanced_icon_default">Stock</string>
|
||||
<string name="revanced_icon_mmt">MMT</string>
|
||||
<string name="revanced_icon_revancify_blue">Revancify Blue</string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user