anddea / revanced-patches

🧩 Patches for ReVanced
https://revanced.app
GNU General Public License v3.0
519 stars 35 forks source link

bug(YouTube - Snackbar) : `Force Snackbar Theme` not working in Player UI #454

Open Aryan-Chauhan opened 1 month ago

Aryan-Chauhan commented 1 month ago

Type

Cosmetic

Tools used

Revancify

Application

YT v19.16.39

Bug description

⬇️ Saved to Watch Later (working): WL1 ⬇️ Removed from Watch Later (working): WL2 ⬇️ Subtitles on (not working): Subs on ⬇️ Subtitles off (not working): Subs off ⬇️ When quality is switched (not working): Quality

Error logs

No logs.

Solution

Force Snackbar Theme should work on all types of snackbars in RVX YT app.

Additional context

Screenshot_2024-05-13-16-33-33-23_fe557b5c831afa8eecca413bd340ebe7 Screenshot_2024-05-13-16-34-27-98_91a936403af6fae783b1a226bd5fdf5c

Device Environment

Realme 7 Pro.

Android 12 (skin name is Realme UI 3.0).

Acknowledgements

anddea commented 1 month ago

I'm aware of this issue, snackbar for player is different and seems there's no layout file for this.

anddea commented 1 month ago

The title is misleading though. The snackbar works everywhere except for player. It works even in shorts, all status messages, copied messages, saved to playlists or removed from them, settings snackbars like info message for quality and data saving, and a lot more.

Aryan-Chauhan commented 1 month ago

The title is misleading though. The snackbar works everywhere except for player. It works even in shorts, all status messages, copied messages, saved to playlists or removed from them, settings snackbars like info message for quality and data saving, and a lot more.

I changed it.

Feel free to further edit it to make it sensible from a developer's perspective.