fix(YouTube - Hide layout components): Do not hide Movie/Courses start page content if 'Hide horizontal shelves' is enabled
This commit is contained in:
parent
f0c70de602
commit
99879f6e0a
1 changed files with 6 additions and 0 deletions
|
|
@ -462,6 +462,12 @@ public final class LayoutComponentsFilter extends Filter {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Do not hide if the navigation back button is visible,
|
||||||
|
// otherwise the content shelves in the YouTube Movie/Courses pages is hidden.
|
||||||
|
if (NavigationBar.isBackButtonVisible()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// Check navigation button last.
|
// Check navigation button last.
|
||||||
// Only filter if the library tab is not selected.
|
// Only filter if the library tab is not selected.
|
||||||
// This check is important as the shelf layout is used for the library tab playlists.
|
// This check is important as the shelf layout is used for the library tab playlists.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue