remove custom-branding-icon-afn-blue
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(false)
|
|
||||||
@Name("custom-branding-icon-afn-blue")
|
|
||||||
@Description("Changes the YouTube launcher icon to Afn Blue.")
|
|
||||||
@DependsOn([SettingsPatch::class])
|
|
||||||
@YouTubeCompatibility
|
|
||||||
@Version("0.0.1")
|
|
||||||
class CustomBrandingIconAfnBluePatch : ResourcePatch {
|
|
||||||
override fun execute(context: ResourceContext): PatchResult {
|
|
||||||
|
|
||||||
context.customIcon("afn-blue")
|
|
||||||
context.updatePatchStatusIcon("afn_blue")
|
|
||||||
|
|
||||||
return PatchResultSuccess()
|
|
||||||
}
|
|
||||||
}
|
|
@ -14,7 +14,7 @@ import app.revanced.patches.youtube.misc.settings.resource.patch.SettingsPatch
|
|||||||
import app.revanced.util.resources.IconHelper.customIcon
|
import app.revanced.util.resources.IconHelper.customIcon
|
||||||
import app.revanced.util.resources.ResourceHelper.updatePatchStatusIcon
|
import app.revanced.util.resources.ResourceHelper.updatePatchStatusIcon
|
||||||
|
|
||||||
@Patch(false)
|
@Patch
|
||||||
@Name("custom-branding-icon-revancify-blue")
|
@Name("custom-branding-icon-revancify-blue")
|
||||||
@Description("Changes the YouTube launcher icon to Revancify Blue.")
|
@Description("Changes the YouTube launcher icon to Revancify Blue.")
|
||||||
@DependsOn([SettingsPatch::class])
|
@DependsOn([SettingsPatch::class])
|
||||||
|
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 8.2 KiB |
Before Width: | Height: | Size: 7.8 KiB |
Before Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 9.9 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 6.6 KiB |