Skip to content

fix(YouTube - Wide search bar): Do not force phone layout for tablet devices #4827

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

Merged

Conversation

LisoUseInAIKyrios
Copy link
Contributor

@LisoUseInAIKyrios LisoUseInAIKyrios commented Apr 19, 2025

One of the fingerprints is no longer correct (it matches to the wrong method that returns an int and not a boolean), and by dumb luck the app doesn't crash but instead forces phone layout on a tablet.

The old broken fingerprint doesn't seem to be required anymore, and only the single fingerprint is needed.

This change also fixes the missing left padding of the wide searchbar.

@LisoUseInAIKyrios LisoUseInAIKyrios force-pushed the fix/tablet_layout_searchbar branch from 670030a to cecbd94 Compare April 19, 2025 10:02
@LisoUseInAIKyrios LisoUseInAIKyrios changed the title fix(YouTube - Wide search bar): Do not default to phone layout with tablet devices fix(YouTube - Wide search bar): Do not force phone layout for tablet devices Apr 19, 2025
@LisoUseInAIKyrios LisoUseInAIKyrios merged commit 0cb38f9 into ReVanced:dev Apr 19, 2025
1 check passed
@LisoUseInAIKyrios LisoUseInAIKyrios deleted the fix/tablet_layout_searchbar branch April 19, 2025 16:33
github-actions bot pushed a commit that referenced this pull request Apr 19, 2025
# [5.21.0-dev.6](v5.21.0-dev.5...v5.21.0-dev.6) (2025-04-19)

### Bug Fixes

* **YouTube - Wide search bar:** Do not force phone layout for tablet devices ([#4827](#4827)) ([0cb38f9](0cb38f9))
github-actions bot pushed a commit that referenced this pull request Apr 25, 2025
# [5.21.0](v5.20.1...v5.21.0) (2025-04-25)

### Bug Fixes

* `Hide ADB status` patch ([#4814](#4814)) ([dc89be0](dc89be0))
* **GmsCore Support:** Correct the description to refer to the app being patched ([2bbcf9d](2bbcf9d))
* **Wide search bar:** Fix patching `19.16.39` ([433dbc3](433dbc3))
* **YouTube - Change start page:** Add option to always override start page on app launch ([#4832](#4832)) ([5062e24](5062e24))
* **YouTube - Disable auto captions:** Correctly hide captions with YT 20.12 ([5ecbe82](5ecbe82))
* **YouTube - Hide video action buttons:** Add option to hide 'Ask' button ([#4852](#4852)) ([43bcf5a](43bcf5a))
* **YouTube - Hide video action buttons:** Hide A/B layout buttons ([4db5d3c](4db5d3c))
* **YouTube - Wide search bar:** Do not force phone layout for tablet devices ([#4827](#4827)) ([0cb38f9](0cb38f9))

### Features

* Add `Hide ADB status` patch ([#4585](#4585)) ([1ea8047](1ea8047))
* **X / Twitter:** Support version `10.86.0-release.0` ([#4805](#4805)) ([655b390](655b390))
* **YouTube - Swipe controls:** Add option for vertical progress bar ([#4811](#4811)) ([ebee07e](ebee07e))
* **YouTube:** Support version `20.12.46` ([#4779](#4779)) ([703359f](703359f))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant