-
-
Notifications
You must be signed in to change notification settings - Fork 426
feat(YouTube - Settings): Add icons to the ReVanced settings #4496
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
Conversation
The YouTube brand guidelines does not mention Shorts or the Shorts logo, so it's unclear if permission is needed to use a Shorts icon. https://www.youtube.com/howyoutubeworks/resources/brand-resources |
# Conflicts: # patches/src/main/kotlin/app/revanced/patches/youtube/misc/settings/SettingsPatch.kt # patches/src/main/resources/settings/drawable/revanced_settings_screen_00_about.xml # patches/src/main/resources/settings/drawable/revanced_settings_screen_01_ads.xml # patches/src/main/resources/settings/drawable/revanced_settings_screen_02_alt_thumbnails.xml # patches/src/main/resources/settings/drawable/revanced_settings_screen_03_feed.xml # patches/src/main/resources/settings/drawable/revanced_settings_screen_04_general.xml # patches/src/main/resources/settings/drawable/revanced_settings_screen_05_player.xml # patches/src/main/resources/settings/drawable/revanced_settings_screen_06_shorts.xml # patches/src/main/resources/settings/drawable/revanced_settings_screen_07_seekbar.xml # patches/src/main/resources/settings/drawable/revanced_settings_screen_08_swipe_controls.xml # patches/src/main/resources/settings/drawable/revanced_settings_screen_11_misc.xml # patches/src/main/resources/settings/drawable/revanced_settings_screen_12_video.xml
I took the Shorts icon from some site and edited it to size. It is not in the Google icon repository. In fact, it is custom icon. |
Their brand guidelines apply to custom graphics as well. The question is if the Shorts logo needs permission to use. |
I think it's better to add Copyright than to decide if it is necessary or not. |
https://en.m.wikipedia.org/wiki/File:Youtube_shorts_icon.svg Wikipedia lists the vector icon file as public domain, but with a caution that it might be trademarked. Searching the USPTO website shows that "YouTube Shorts" is trademarked: But the trademark does not include a wordmark or logo. For reference the YouTube logo and wordmark is trademarked So, maybe it's ok to modify and use the public domain vector icon. |
Can't it depend on the app's native icon resources? |
If that built in icon matches the line width of the other icons (or the other icons can be adjusted to match the built in icon), then using that would be best. But I think using the icon already here might be ok too |
patches/src/main/kotlin/app/revanced/patches/shared/misc/settings/SettingsPatch.kt
Outdated
Show resolved
Hide resolved
03d0585
to
35bec9e
Compare
35bec9e
to
d1a4577
Compare
If necessary, it is also possible to add icons to the submenus, but it seems to me that this goes beyond the design code of the YouTube settings. Although, for example, hiding buttons for the user would be intuitive as to which button would be hidden. |
I think icons for only some submenu items but not for other items would look out of place. The hide action and navigation buttons are the only settings that an icon might help, but I think it's easy to understand what those settings do just from the setting title text. |
Looks good, but maybe remove the gear icon. The Shorts settings are less like the video settings and more like the player (which has no gear). |
Ok, it was a second variant =) |
The animated images you suggested also looks ok. |
There's multiple considerations with this PR
|
I tried to choose icons more appropriate to the context of the menu item. But IMHO, at the moment, Google has a poor taste in the design code in the YouTube settings, some icons are simply terrible. Edit: There are no custom icons here. |
These icons could be default off, so users need to opt in to see them. |
# Conflicts: # patches/src/main/kotlin/app/revanced/patches/youtube/misc/settings/SettingsPatch.kt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally I like to use no icons in the settings, but I think this change looks ok and users can turn off the icons if they want.
patches/src/main/kotlin/app/revanced/patches/youtube/misc/settings/SettingsPatch.kt
Outdated
Show resolved
Hide resolved
patches/src/main/kotlin/app/revanced/patches/youtube/misc/settings/SettingsPatch.kt
Outdated
Show resolved
Hide resolved
# [5.19.0-dev.2](v5.19.0-dev.1...v5.19.0-dev.2) (2025-04-02) ### Features * **YouTube - Settings:** Add icons to the ReVanced settings ([#4496](#4496)) ([d0c85f0](d0c85f0))
# [5.19.0](v5.18.0...v5.19.0) (2025-04-12) ### Bug Fixes * **Google Photos - Restore hidden 'Back up while charging' toggle:** Constrain to last working app target ([#4761](#4761)) ([152bb7c](152bb7c)) * **Google Photos:** Remove obsolete non functional patch `Restore hidden 'Back up while charging' toggle` ([#4764](#4764)) ([56e48f4](56e48f4)) * **Spotify - Custom theme:** Override more color resources ([#4690](#4690)) ([d7a7a0b](d7a7a0b)) * **Spotify - Unlock Spotify Premium:** Remove restrictions for Google voice assistant ([#4702](#4702)) ([106202f](106202f)) * **Spotify:** Remove ads sections from home ([#4722](#4722)) ([0b9a5e7](0b9a5e7)) * **Twitter - Hide recommended users:** Make hiding work again by filtering for new entryId prefix ([#4456](#4456)) ([ff846b0](ff846b0)) * **YouTube - Hide layout components:** Do not hide video description music/game links if hide horizontal shelves is enabled ([3864f35](3864f35)) * **YouTube - Hide player flyout menu items:** Show more detailed summary text for 'Hide Audio track' if using Android spoof client ([#4756](#4756)) ([b67bbb2](b67bbb2)) * **YouTube - Remove background playback restrictions:** Do not show media controls when playing Shorts from the feed ([2ed675c](2ed675c)) * **YouTube - Return YouTube Dislike:** Correctly update label after disliking a Short with 20.07 ([0bb3e32](0bb3e32)) * **YouTube - Return YouTube Dislike:** Fix inconsistent label after disliking a Short ([ea92a2e](ea92a2e)) * **YouTube - Seekbar:** Correctly hide the feed seekbar with target 20.07 ([ddc6e4c](ddc6e4c)) * **YouTube:** Combine multiple seekbar patches into a single patch ([#4705](#4705)) ([503b7eb](503b7eb)) ### Features * **Angulus:** Add `Hide ads` patch ([#4604](#4604)) ([87c86b5](87c86b5)) * **Messenger:** Add `Remove Meta AI tab` patch ([#4726](#4726)) ([e3fad97](e3fad97)) * **Photomath:** Support latest version ([#4672](#4672)) ([8e16483](8e16483)) * **Proton Mail:** Add `Remove 'Sent from' signature` patch ([#4514](#4514)) ([34c14c9](34c14c9)) * **Spotify:** Add `Check environment` patch ([#4765](#4765)) ([6d7101c](6d7101c)) * **Spotify:** Add limited support for version `8.6.98.900` (last version that supports Kenwood and Pioneer car stereos) ([#4750](#4750)) ([a3fde87](a3fde87)) * **Strava - Disable subscription suggestions:** Make compatible with latest version ([#4739](#4739)) ([649a2c0](649a2c0)) * **YouTube - Settings:** Add icons to the ReVanced settings ([#4496](#4496)) ([d0c85f0](d0c85f0))
Adds icons to the ReVanced settings menu.
Icons can be turned off in
General > Show ReVanced settings icons
After