add custom-branding-music-afn-blue patch

This commit is contained in:
inotia00
2023-01-30 10:54:45 +09:00
parent a7c8fc2926
commit 8a5c914777
31 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
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.shared.annotation.YouTubeMusicCompatibility
import app.revanced.shared.util.resources.IconHelper
@Patch
@Name("custom-branding-music-afn-blue")
@Description("Changes the YouTube Music launcher icon (Afn / Blue).")
@YouTubeMusicCompatibility
@Version("0.0.1")
class CustomBrandingMusicPatch_Blue : ResourcePatch {
override fun execute(context: ResourceContext): PatchResult {
IconHelper.customIconMusic(context, "blue")
IconHelper.customIconMusicAdditional(context, "blue")
return PatchResultSuccess()
}
}