Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(YouTube/Custom Shorts action buttons): add outlined version of actual youtube shorts action buttons #59

Merged
merged 3 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ object ShortsActionButtonsPatch : BaseResourcePatch(
dependencies = setOf(SettingsPatch::class),
compatiblePackages = COMPATIBLE_PACKAGE
) {
private const val DEFAULT_ICON = "round"
private const val DEFAULT_ICON = "youtubeoutline"
private const val YOUTUBE_ICON = "youtube"

private val IconType = stringPatchOption(
Expand All @@ -25,7 +25,8 @@ object ShortsActionButtonsPatch : BaseResourcePatch(
values = mapOf(
"Outline" to "outline",
"OutlineCircle" to "outlinecircle",
"Round" to DEFAULT_ICON,
"Round" to "round",
"YoutubeOutline" to DEFAULT_ICON,
"YouTube" to YOUTUBE_ICON
),
title = "Shorts icon style ",
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<vector android:name="vector" android:height="32.0dip" android:width="32.0dip" android:viewportWidth="32.0" android:viewportHeight="32.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:name="path" android:pathData="M 29 5.667 L 29.012 27.445 C 29.012 28.182 28.415 28.779 27.679 28.779 C 27.325 28.78 26.986 28.639 26.735 28.389 L 22.666 24 L 5.667 24 C 4.2 24 3 22.8 3 21.333 L 3 5.667 C 3 4.2 4.2 3 5.667 3 L 26.347 3 C 27.813 3 29 4.2 29 5.667 Z M 8 10.5 C 8 9.672 8.671 9 9.5 9 L 22.5 9 C 23.328 9 24 9.672 24 10.5 C 24 11.329 23.328 12 22.5 12 L 9.5 12 C 8.671 12 8 11.329 8 10.5 Z M 9.5 15 C 8.671 15 8 15.672 8 16.5 C 8 17.328 8.671 18 9.5 18 L 18.5 18 C 19.328 18 20 17.328 20 16.5 C 20 15.672 19.328 15 18.5 15 L 9.5 15 Z" android:strokeColor="#ffffffff" android:strokeWidth="1.25" />
</vector>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<vector android:name="vector" android:height="32.0dip" android:width="32.0dip" android:viewportWidth="32.0" android:viewportHeight="32.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:name="path" android:pathData="M 5.282 20 C 4.674 20 4.099 19.724 3.72 19.25 L 3.012 18.365 C 2.49 17.712 2.429 16.803 2.859 16.086 L 4.075 14.059 L 3.384 12.332 C 2.995 11.36 3.142 10.256 3.77 9.418 L 4.667 8.222 L 4.667 6 C 4.667 4.896 5.562 4 6.667 4 L 19.333 4 C 20.438 4 21.333 4.896 21.333 6 L 21.333 19.171 C 21.333 20.005 21.073 20.818 20.588 21.496 L 15.337 28.848 C 15.2 29.04 14.949 29.11 14.733 29.017 L 14.662 28.987 C 12.828 28.201 11.853 26.183 12.378 24.258 L 13.54 20 L 5.282 20 Z M 26 18.669 C 27.105 18.669 28 17.774 28 16.669 L 28 6.003 C 28 4.898 27.105 4.003 26 4.003 L 23.333 4.003 L 23.333 18.669 L 26 18.669 Z" android:strokeColor="#ffffffff" android:strokeWidth="1.25" />
</vector>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<vector android:name="vector" android:height="32.0dip" android:width="32.0dip" android:viewportWidth="32.0" android:viewportHeight="32.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:name="path" android:pathData="M 25.718 11.998 C 26.326 11.998 26.901 12.274 27.28 12.748 L 27.988 13.633 C 28.51 14.286 28.571 15.194 28.141 15.911 L 26.925 17.938 L 27.616 19.665 C 28.005 20.637 27.858 21.742 27.23 22.58 L 26.333 23.776 L 26.333 25.998 C 26.333 27.102 25.438 27.998 24.333 27.998 L 11.667 27.998 C 10.562 27.998 9.667 27.102 9.667 25.998 L 9.667 12.827 C 9.667 11.993 9.927 11.18 10.412 10.502 L 15.663 3.149 C 15.8 2.958 16.051 2.888 16.267 2.98 L 16.338 3.011 C 18.172 3.797 19.147 5.815 18.622 7.74 L 17.46 11.998 L 25.718 11.998 Z M 5 13.329 C 3.895 13.329 3 14.224 3 15.329 L 3 25.995 C 3 27.1 3.895 27.995 5 27.995 L 7.667 27.995 L 7.667 13.329 L 5 13.329 Z" android:strokeColor="#ffffffff" android:strokeWidth="1.25" />
</vector>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<vector android:name="vector" android:height="32.0dip" android:width="32.0dip" android:viewportWidth="32.0" android:viewportHeight="32.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:name="path" android:pathData="M 17.738 5.266 L 28.674 15.262 C 29.108 15.659 29.108 16.342 28.674 16.739 L 17.738 26.736 C 17.096 27.322 16.063 26.867 16.063 25.997 L 16.063 21.622 L 16.063 21.622 C 9.926 21.622 6.691 23.938 5.162 25.597 C 4.807 25.981 3.973 25.734 4 25.212 C 4.226 20.832 5.861 10.889 16.063 10.889 L 16.063 10.889 L 16.063 6.004 C 16.063 5.134 17.096 4.679 17.738 5.266 Z" android:strokeColor="#ffffffff" android:strokeWidth="1.25" />
</vector>