feat(YTmusic): custom-branding-music-mmt (#9)

add `custom-branding-music-mmt` patch
This commit is contained in:
KAZI MMT 2023-03-06 09:01:43 +06:00 committed by GitHub
parent 9db5d85353
commit 1753a427f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
32 changed files with 38 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-mmt")
@Description("Changes the YouTube Music launcher icon to your choice (MMT).")
@YouTubeMusicCompatibility
@Version("0.0.1")
class CustomBrandingMusicIconMMTPatch : ResourcePatch {
override fun execute(context: ResourceContext): PatchResult {
context.customIconMusic("mmt")
return PatchResultSuccess()
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

View File

@ -0,0 +1,13 @@
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:name="vector"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:name="path"
android:pathData="M 34.6 65.9 L 34.6 42.2 C 34.6 39.6 36.4 38.8 38.4 40.3 L 54.2 51.5 C 56.3 52.9 56.3 55.3 54.2 56.8 L 38.5 68 C 36.2 69.4 34.6 68.5 34.6 65.9 Z M 58.8 68.6 C 54.8 68.6 51.1 67 48.6 64.3 L 55.3 59.5 C 56.3 60.1 57.5 60.6 59 60.6 C 62.7 60.6 65.7 57.6 65.7 53.9 C 65.7 50.2 62.7 47.2 59 47.2 C 57.7 47.2 56.4 47.5 55.3 48.3 L 48.6 43.5 C 51.2 40.9 54.8 39.2 58.8 39.2 C 66.8 39.2 73.4 45.8 73.4 53.8 C 73.4 62.1 67 68.6 58.8 68.6 Z M 57.4 54.1 C 57.4 53.3 58 52.5 59 52.5 C 59.8 52.5 60.6 53.1 60.6 54.1 C 60.6 54.9 60 55.7 59 55.7 C 58 55.7 57.4 54.9 57.4 54.1 Z"
android:fillColor="#000"
android:strokeWidth="1"/>
</vector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB