Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
fix(YouTube - Shorts components): Shorts are hidden in Watch history …
Browse files Browse the repository at this point in the history
…shelf in Library tab
  • Loading branch information
anddea committed Oct 15, 2024
1 parent f85df5e commit ab6f255
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
@SuppressWarnings("unused")
public final class ShortsShelfFilter extends Filter {
private static final String BROWSE_ID_HISTORY = "FEhistory";
private static final String BROWSE_ID_LIBRARY = "FElibrary";
private static final String BROWSE_ID_SUBSCRIPTIONS = "FEsubscriptions";
private static final String CONVERSATION_CONTEXT_FEED_IDENTIFIER =
"horizontalCollectionSwipeProtector=null";
Expand Down Expand Up @@ -131,7 +132,7 @@ private static boolean shouldHideShortsFeedItems() {
final String browseId = RootView.getBrowseId();
Logger.printDebug(() -> "Current browseId: " + browseId);
switch (browseId) {
case BROWSE_ID_HISTORY -> {
case BROWSE_ID_HISTORY, BROWSE_ID_LIBRARY -> {
return hideHistory;
}
case BROWSE_ID_SUBSCRIPTIONS -> {
Expand Down

0 comments on commit ab6f255

Please sign in to comment.