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

This commit is contained in:
inotia00
2023-05-03 18:20:16 +09:00
parent 2a55033fd5
commit 21e4b56845
43 changed files with 4 additions and 7 deletions

View File

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