Skip to content

Commit

Permalink
feat(YouTube): rename Visual preferences icons to `Visual preferenc…
Browse files Browse the repository at this point in the history
…es icons for YouTube`
  • Loading branch information
inotia00 committed Sep 22, 2024
1 parent 8f5be6f commit 9be6315
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import java.io.Closeable

@Suppress("DEPRECATION", "unused")
object VisualPreferencesIconsPatch : BaseResourcePatch(
name = "Visual preferences icons",
name = "Visual preferences icons for YouTube",
description = "Adds icons to specific preferences in the settings.",
dependencies = setOf(SettingsPatch::class),
compatiblePackages = COMPATIBLE_PACKAGE
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
<vector android:height="48dp" android:viewportHeight="432"
android:viewportWidth="432" android:width="48dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ff0000" android:pathData="M189.06,140.7C208.18,140.42 227.31,140.59 246.43,140.67L246.53,141.37C254.71,141.27 262.9,141.55 271.08,141.75C273.59,142.71 276.33,142.3 278.95,142.48C284.04,142.42 289.02,143.66 294.09,143.85C304.03,144.92 313.72,150.57 317.74,160.02C318.79,162.25 319.37,164.66 319.86,167.08C320.42,168.7 320.65,170.42 320.84,172.13C322.46,180.66 322.69,189.36 323.41,198C323.75,211.66 324.19,225.41 322.94,239.03C322.55,247.71 321.87,256.46 319.87,264.94C319.45,267.04 319.03,269.15 318.29,271.17C315.18,277.81 309.85,283.67 302.79,286.1C292.29,289.65 281.04,289.03 270.18,290.37C262.52,290.87 254.69,290.04 247.15,291.3C224.96,291.68 202.76,291.47 180.57,291.35L180.44,290.64C168.56,291.01 156.77,289.75 144.93,289.2C138.62,287.99 131.88,287.97 126.08,284.8C120.16,281.7 115.44,276.23 113.29,269.9C111.18,263.89 110.61,257.44 109.73,251.15C107.72,229.15 107.55,206.95 109.4,184.94C110.2,176.81 111.07,168.61 113.66,160.82C116.6,154.73 121.29,149.14 127.72,146.59C133.71,143.78 140.47,143.96 146.83,142.79C150.89,142.47 154.97,142.54 159.03,142.18C168.93,140.74 179.12,142.13 189.06,140.7M194.39,183.68C194.48,205.28 194.09,226.91 194.58,248.5C212.98,237.46 231.74,227.02 250.24,216.15C231.77,205.08 212.95,194.6 194.39,183.68Z"/>
<path android:fillColor="#ffffff" android:pathData="M194.39,183.68C212.95,194.6 231.77,205.08 250.24,216.15C231.74,227.02 212.98,237.46 194.58,248.5C194.09,226.91 194.48,205.28 194.39,183.68Z"/>
</vector>
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:name="vector"
android:width="48.0dp"
android:height="48.0dp"
android:viewportWidth="192.0"
android:viewportHeight="192.0">
<group
android:scaleX="0.5"
android:scaleY="0.5"
android:pivotX="96"
android:pivotY="96">
<path
android:name="path_2"
android:pathData="M 96 16.663 C 74.967 16.663 54.773 25.027 39.9 39.9 C 25.027 54.773 16.663 74.967 16.663 96 C 16.663 117.033 25.027 137.227 39.9 152.1 C 54.773 166.973 74.967 175.337 96 175.337 C 117.033 175.337 137.227 166.973 152.1 152.1 C 166.973 137.227 175.337 117.033 175.337 96 C 175.337 74.967 166.973 54.773 152.1 39.9 C 137.227 25.027 117.033 16.663 96 16.663 Z"
android:fillColor="#ff0000"
android:strokeWidth="1"/>
<path
android:name="path_3"
android:pathData="M 140.827 65.765 C 142.411 67.348 143.551 69.319 144.136 71.48 C 147.504 85.034 146.725 106.442 144.202 120.52 C 143.617 122.681 142.476 124.652 140.893 126.235 C 139.31 127.818 137.339 128.959 135.178 129.544 C 127.266 131.702 95.422 131.702 95.422 131.702 C 95.422 131.702 63.579 131.702 55.667 129.544 C 53.506 128.959 51.535 127.818 49.952 126.235 C 48.369 124.652 47.228 122.681 46.643 120.52 C 43.256 107.024 44.185 85.603 46.578 71.545 C 47.163 69.384 48.303 67.413 49.887 65.83 C 51.47 64.247 53.44 63.106 55.601 62.521 C 63.513 60.364 95.357 60.298 95.357 60.298 C 95.357 60.298 127.201 60.298 135.113 62.456 C 137.274 63.041 139.244 64.182 140.827 65.765 Z M 111.639 96 L 85.222 111.301 L 85.222 80.699 L 111.639 96 Z"
android:fillColor="#ffffff"
android:strokeWidth="1"
android:fillType="evenOdd"/>
</group>
</vector>

0 comments on commit 9be6315

Please sign in to comment.