add custom-branding-music-revancify-red patch

This commit is contained in:
inotia00
2023-05-03 18:32:38 +09:00
parent bbce8f2618
commit c9217dc979
17 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,25 @@
package app.revanced.patches.music.layout.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.*
import app.revanced.patcher.patch.annotations.Patch
import app.revanced.patches.shared.annotation.YouTubeMusicCompatibility
import app.revanced.util.resources.IconHelper.customIconMusic
@Patch(false)
@Name("custom-branding-music-revancify-red")
@Description("Changes the YouTube Music launcher icon to Revancify Red.")
@YouTubeMusicCompatibility
@Version("0.0.1")
class CustomBrandingMusicIconRevancifyRedPatch : ResourcePatch {
override fun execute(context: ResourceContext): PatchResult {
context.customIconMusic("revancify-red")
return PatchResultSuccess()
}
}