add custom-branding-music-revancify-blue patch

This commit is contained in:
inotia00 2023-05-03 18:32:59 +09:00
parent c9217dc979
commit 8113deb56d
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-blue")
@Description("Changes the YouTube Music launcher icon to Revancify Blue.")
@YouTubeMusicCompatibility
@Version("0.0.1")
class CustomBrandingMusicIconRevancifyBluePatch : ResourcePatch {
override fun execute(context: ResourceContext): PatchResult {
context.customIconMusic("revancify-blue")
return PatchResultSuccess()
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,18 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:pathData="M54,54m-23,0a23,23 0,1 1,46 0a23,23 0,1 1,-46 0"
android:strokeWidth="5"
android:fillColor="#00000000"
android:strokeColor="#000000"/>
<path
android:pathData="M49,48.77C49,45.1 52.63,42.81 55.54,44.65L63.82,49.87C66.73,51.71 66.73,56.29 63.82,58.13L55.54,63.35C52.63,65.19 49,62.9 49,59.23L49,48.77Z"
android:fillColor="#000000"
android:fillAlpha="0.5"/>
<path
android:pathData="M42,50.58C42,47.83 44.78,46.11 47,47.48L53.33,51.4C55.56,52.78 55.56,56.22 53.33,57.6L47,61.52C44.78,62.89 42,61.17 42,58.42L42,50.58Z"
android:fillColor="#000000"/>
</vector>