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

Commit

Permalink
fix(YouTube): Move Hide album cards patch into `Hide layout compone…
Browse files Browse the repository at this point in the history
…nts`
  • Loading branch information
LisoUseInAIKyrios committed Oct 22, 2024
1 parent 5f49e92 commit 4106d8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,12 @@ public static boolean showWatermark() {
return !Settings.HIDE_VIDEO_CHANNEL_WATERMARK.get();
}

/**
* Injection point.
*/
public static void hideAlbumCard(View view) {
Utils.hideViewBy0dpUnderCondition(Settings.HIDE_ALBUM_CARDS, view);
}

private static final boolean HIDE_DOODLES_ENABLED = Settings.HIDE_DOODLES.get();

Expand Down

0 comments on commit 4106d8a

Please sign in to comment.