-
-
Notifications
You must be signed in to change notification settings - Fork 477
fix(YouTube - Settings): Back button/gesture closes search instead of exiting #5418
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
Last commit solves the problem for me #5299, but tests are needed. |
...sions/youtube/src/main/java/app/revanced/extension/youtube/settings/LicenseActivityHook.java
Outdated
Show resolved
Hide resolved
baffb0c
to
03b8d69
Compare
03b8d69
to
57fb231
Compare
Change it how? Fix the layout? |
When I tried to implement search via EditText this was its default behavior, and I somehow disabled it then. Since SearchView has a built-in EditText I think this behavior can also be disabled. |
This comment was marked as resolved.
This comment was marked as resolved.
^ This is necessary because the search history layout does not adapt after changing orientation. |
👉 MarcaDian for design team 👈 |
Anything left to do before merging? |
From my side, everything works as it should. |
I accidentally didn't submit the pending comments i made |
## [5.31.2-dev.4](v5.31.2-dev.3...v5.31.2-dev.4) (2025-07-13) ### Bug Fixes * **YouTube - Settings:** Back button/gesture closes search instead of exiting ([#5418](#5418)) ([134b278](134b278))
patches/src/main/kotlin/app/revanced/patches/youtube/misc/settings/SettingsPatch.kt
Show resolved
Hide resolved
...ions/youtube/src/main/java/app/revanced/extension/youtube/settings/SearchViewController.java
Show resolved
Hide resolved
...ions/youtube/src/main/java/app/revanced/extension/youtube/settings/SearchViewController.java
Show resolved
Hide resolved
## [5.31.2](v5.31.1...v5.31.2) (2025-07-14) ### Bug Fixes * **Spotify - Spoof client:** Fix login failing by spoofing login request in addition ([#5448](#5448)) ([4e59ddc](4e59ddc)) * **YouTube - Disable double tap actions:** Remove old incompatible targets ([857053e](857053e)) * **YouTube - Hide layout components:** Hide quick actions does not work ([#5423](#5423)) ([9c66729](9c66729)) * **YouTube - Hide layout components:** Show correct custom header logo if 'Hide YouTube Doodles' is enabled ([#5431](#5431)) ([20cc141](20cc141)) * **YouTube - Settings:** Back button/gesture closes search instead of exiting ([#5418](#5418)) ([134b278](134b278))
This PR includes the following fixes: