Skip to content

Commit

Permalink
fix(youtube/spoof-app-version): restore watch history preview
Browse files Browse the repository at this point in the history
  • Loading branch information
inotia00 committed May 11, 2023
1 parent ba2a5c2 commit 059e5cb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ public static int hideCategoryBarInSearchResults(int original) {
}

public static void hideBreakingNewsShelf(View view) {
if (!SettingsEnum.HIDE_BREAKING_NEWS_SHELF.getBoolean()) return;
if (!SettingsEnum.HIDE_BREAKING_NEWS_SHELF.getBoolean()
|| (SettingsEnum.SPOOF_APP_VERSION.getBoolean()
&& SettingsEnum.SPOOF_APP_VERSION_TARGET.getString().compareTo("17.30.34") < 0)) return;
AdRemoverAPI.HideViewWithLayout1dp(view);
}

Expand Down

0 comments on commit 059e5cb

Please sign in to comment.