remove custom-branding-icon-afn-red
patch
@ -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
|
||||
@Name("custom-branding-icon-afn-red")
|
||||
@Description("Changes the YouTube launcher icon to Afn Red.")
|
||||
@DependsOn([SettingsPatch::class])
|
||||
@YouTubeCompatibility
|
||||
@Version("0.0.1")
|
||||
class CustomBrandingIconRedPatch : ResourcePatch {
|
||||
override fun execute(context: ResourceContext): PatchResult {
|
||||
|
||||
context.customIcon("afn-red")
|
||||
context.updatePatchStatusIcon("afn_red")
|
||||
|
||||
return PatchResultSuccess()
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 7.0 KiB |
Before Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 7.3 KiB |
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector android:height="24dp" android:viewportHeight="1200"
|
||||
android:viewportWidth="1200" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#ffffff" android:pathData="M490.9,437C492.5,411.7 516.6,390.3 541.9,391.8C551.1,391.6 560.1,394.5 567.9,399.3C655.5,451.6 743.2,503.9 830.9,556.1C841.2,562.1 849.5,571.5 853.5,582.8C858.1,596.8 857.2,612.8 849.5,625.5C845.1,633.5 838,639.6 830.3,644.2C742.6,696.5 654.9,748.8 567.1,801.1C551.7,810.7 530.9,810.9 515.4,801.4C503.2,794.3 494,781.8 491.6,767.8C490.8,763.9 490.8,760 490.7,756C490.7,745.5 490.7,735.1 490.7,724.6C479.7,732.5 468.3,739.8 457.1,747.2C443.6,755.7 423.8,750.9 416,737C413.2,732.2 411.6,726.7 411.8,721.1C411.7,641.7 411.8,562.3 411.7,483C411.7,477.4 411.9,471.6 414.5,466.5C421,451.1 442,444.2 456.3,453C467.8,460.6 479.3,468.2 490.7,476C490.9,463 490.4,450 490.9,437M512.7,431.5C511.5,435.2 510.9,439.1 510.9,443C510.8,458.4 511,473.8 510.9,489.2C554.4,518.7 598.4,547.6 642.1,576.9C647.9,581.2 651.5,587.9 652.9,594.9C654.7,603 652,611.6 647.5,618.4C644.8,621.8 641.3,624.4 637.7,626.8C596.5,654.2 555.4,681.7 514.2,709.2C512.9,710.2 510.5,710.8 510.9,712.9C510.9,727.3 510.9,741.6 510.9,756C510.9,761 511.5,766.1 513.5,770.8C516.9,776.9 521.8,782.7 528.5,785.3C537.5,789.5 548.5,789 556.8,783.7C645.1,731.1 733.4,678.4 821.8,625.7C825.6,623.7 828.3,620.4 831,617C835.9,610.5 836.9,601.7 835.5,593.8C834.1,584.9 827.6,577.4 819.8,573.1C741.2,526.2 662.5,479.3 583.9,432.4C574,426.6 564.2,420.6 554.3,414.9C539,407 518.2,415.3 512.7,431.5M501.3,514.3C498.9,517.4 496.6,521 496.9,525.1C496.9,575.3 496.9,625.7 496.9,675.9C496.8,683.7 504,691.1 511.9,690.4C517.3,690.3 521.8,686.7 526,683.7C560,659.9 594.1,636.2 628,612.3C631.5,610.2 632.7,606.1 634,602.5C634,601.2 634,599.8 634,598.4C632.7,594.9 631.5,590.8 628,588.7C602.9,571 577.5,553.4 552.3,535.7C540.6,527.8 529.4,519.2 517.4,511.6C512.2,509.5 505.6,510.5 501.3,514.3Z"/>
|
||||
</vector>
|
||||
|
Before Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 6.2 KiB |