feat(custom-branding-icon-afn-blue): change icon path

This commit is contained in:
inotia00 2023-05-03 18:23:57 +09:00
parent 21e4b56845
commit 6eae7c0fcb
42 changed files with 5 additions and 4 deletions

View File

@ -16,15 +16,15 @@ import app.revanced.util.resources.ResourceHelper.updatePatchStatusIcon
@Patch(false)
@Name("custom-branding-icon-afn-blue")
@Description("Changes the YouTube launcher icon (Afn / Blue).")
@Description("Changes the YouTube launcher icon to Afn Blue.")
@DependsOn([SettingsPatch::class])
@YouTubeCompatibility
@Version("0.0.1")
class CustomBrandingIconBluePatch : ResourcePatch {
class CustomBrandingIconAfnBluePatch : ResourcePatch {
override fun execute(context: ResourceContext): PatchResult {
context.customIcon("blue")
context.updatePatchStatusIcon("blue")
context.customIcon("afn-blue")
context.updatePatchStatusIcon("afn_blue")
return PatchResultSuccess()
}

View File

@ -47,6 +47,7 @@
<string name="revanced_hide_subscriptions_button_summary_on">@string/revanced_hide_shorts_player_subscriptions_button_summary_on</string>
<string name="revanced_hide_subscriptions_button_title">@string/revanced_hide_shorts_player_subscriptions_button_title</string>
<string name="revanced_icons_afn_blue">afn / blue</string>
<string name="revanced_icons_afn_red">afn / red</string>
<string name="revanced_icons_default">stock</string>
<string name="revanced_icons_custom">custom</string>