remove custom-branding-icon-revancify
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-revancify")
|
|
||||||
@Description("Changes the YouTube launcher icon (Revancify).")
|
|
||||||
@DependsOn([SettingsPatch::class])
|
|
||||||
@YouTubeCompatibility
|
|
||||||
@Version("0.0.1")
|
|
||||||
class CustomBrandingIconRevancifyPatch : ResourcePatch {
|
|
||||||
override fun execute(context: ResourceContext): PatchResult {
|
|
||||||
|
|
||||||
context.customIcon("revancify")
|
|
||||||
context.updatePatchStatusIcon("revancify")
|
|
||||||
|
|
||||||
return PatchResultSuccess()
|
|
||||||
}
|
|
||||||
}
|
|
Before Width: | Height: | Size: 539 B |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 362 B |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 700 B |
Before Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 9.5 KiB |
Before Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 8.3 KiB |
@ -1,7 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<vector android:height="108dp" android:viewportHeight="108"
|
|
||||||
android:viewportWidth="108" android:width="108dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
<path android:fillColor="#000000" android:pathData="M 62.767 57.503 C 65.319 55.894 65.319 51.973 62.767 50.363 L 53.083 44.256 C 50.51 42.634 47.261 44.55 47.169 47.691 L 51.644 50.431 C 54.154 51.968 54.154 55.811 51.644 57.348 L 47.168 60.09 C 47.201 63.282 50.486 65.248 53.083 63.611 L 62.767 57.503 Z" />
|
|
||||||
<path android:fillColor="#000000" android:pathData="M 50.44 56.006 C 51.945 55.084 51.945 52.778 50.44 51.856 L 46.768 49.607 C 45.262 48.685 43.38 49.837 43.38 51.682 L 43.38 56.18 C 43.38 58.024 45.262 59.177 46.768 58.255 L 50.44 56.006 Z" />
|
|
||||||
<path android:fillColor="#000000" android:pathData="M 40.534 37.028 C 43.949 36.461 48.438 36 54 36 C 59.562 36 64.051 36.461 67.466 37.028 C 73.169 37.974 76.752 43.24 76.918 49.085 C 76.966 50.782 77 52.504 77 54 C 77 55.496 76.966 57.218 76.918 58.915 C 76.752 64.76 73.169 70.026 67.466 70.972 C 64.051 71.539 59.562 72 54 72 C 48.438 72 43.949 71.539 40.534 70.972 C 34.831 70.026 31.248 64.76 31.082 58.915 C 31.034 57.218 31 55.496 31 54 C 31 52.504 31.034 50.782 31.082 49.085 C 31.248 43.24 34.831 37.974 40.534 37.028 Z M 54 39.333 C 48.603 39.333 44.276 39.781 41.02 40.321 C 37.06 40.978 34.351 44.66 34.223 49.186 C 34.175 50.866 34.142 52.552 34.142 54 C 34.142 55.449 34.175 57.134 34.223 58.814 C 34.351 63.34 37.06 67.022 41.02 67.679 C 44.276 68.219 48.603 68.667 54 68.667 C 59.397 68.667 63.724 68.219 66.98 67.679 C 70.94 67.022 73.649 63.34 73.777 58.814 C 73.825 57.134 73.858 55.449 73.858 54 C 73.858 52.552 73.825 50.866 73.777 49.186 C 73.649 44.66 70.94 40.978 66.98 40.321 C 63.724 39.781 59.397 39.333 54 39.333 Z" android:fillType="evenOdd" />
|
|
||||||
</vector>
|
|
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 70 KiB |
Before Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 75 KiB |
Before Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 7.4 KiB |
@ -52,7 +52,6 @@
|
|||||||
<string name="revanced_icons_default">stock</string>
|
<string name="revanced_icons_default">stock</string>
|
||||||
<string name="revanced_icons_custom">custom</string>
|
<string name="revanced_icons_custom">custom</string>
|
||||||
<string name="revanced_icons_mmt">mmt</string>
|
<string name="revanced_icons_mmt">mmt</string>
|
||||||
<string name="revanced_icons_revancify">revancify</string>
|
|
||||||
<string name="revanced_labels_default">stock</string>
|
<string name="revanced_labels_default">stock</string>
|
||||||
<string name="revanced_patches_excluded">Excluded</string>
|
<string name="revanced_patches_excluded">Excluded</string>
|
||||||
<string name="revanced_patches_included">Included</string>
|
<string name="revanced_patches_included">Included</string>
|
||||||
|