remove custom-branding-icon-afn-red patch

This commit is contained in:
inotia00
2023-06-18 22:28:33 +09:00
parent 9aae2f0032
commit 564306fcd6
42 changed files with 0 additions and 37 deletions

View File

@ -1,31 +0,0 @@
package app.revanced.patches.youtube.layout.etc.branding.icon.patch
import app.revanced.patcher.annotation.Description
import app.revanced.patcher.annotation.Name
import app.revanced.patcher.annotation.Version
import app.revanced.patcher.data.ResourceContext
import app.revanced.patcher.patch.PatchResult
import app.revanced.patcher.patch.PatchResultSuccess
import app.revanced.patcher.patch.ResourcePatch
import app.revanced.patcher.patch.annotations.DependsOn
import app.revanced.patcher.patch.annotations.Patch
import app.revanced.patches.shared.annotation.YouTubeCompatibility
import app.revanced.patches.youtube.misc.settings.resource.patch.SettingsPatch
import app.revanced.util.resources.IconHelper.customIcon
import app.revanced.util.resources.ResourceHelper.updatePatchStatusIcon
@Patch
@Name("custom-branding-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("afn-red")
context.updatePatchStatusIcon("afn_red")
return PatchResultSuccess()
}
}