remove custom-branding-icon-afn-blue patch

This commit is contained in:
inotia00
2023-06-18 22:29:47 +09:00
parent 564306fcd6
commit b188c3f7dc
42 changed files with 1 additions and 32 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(false)
@Name("custom-branding-icon-afn-blue")
@Description("Changes the YouTube launcher icon to Afn Blue.")
@DependsOn([SettingsPatch::class])
@YouTubeCompatibility
@Version("0.0.1")
class CustomBrandingIconAfnBluePatch : ResourcePatch {
override fun execute(context: ResourceContext): PatchResult {
context.customIcon("afn-blue")
context.updatePatchStatusIcon("afn_blue")
return PatchResultSuccess()
}
}

View File

@ -14,7 +14,7 @@ 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(false)
@Patch
@Name("custom-branding-icon-revancify-blue")
@Description("Changes the YouTube launcher icon to Revancify Blue.")
@DependsOn([SettingsPatch::class])