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

Commit

Permalink
feat(YouTube/Toolbar components): remove Hide trending searches set…
Browse files Browse the repository at this point in the history
  • Loading branch information
inotia00 committed May 19, 2024
1 parent 9e9d828 commit 31366b6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -605,10 +605,6 @@ public static boolean hideSearchTermThumbnail() {
return Settings.HIDE_SEARCH_TERM_THUMBNAIL.get();
}

public static boolean hideTrendingSearches(boolean original) {
return Settings.HIDE_TRENDING_SEARCHES.get() || original;
}

public static void hideVoiceSearchButton(View view) {
hideViewUnderCondition(
Settings.HIDE_VOICE_SEARCH_BUTTON.get(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ public class Settings extends BaseSettings {
public static final BooleanSetting HIDE_TOOLBAR_CREATE_BUTTON = new BooleanSetting("revanced_hide_toolbar_create_button", FALSE, true);
public static final BooleanSetting HIDE_TOOLBAR_NOTIFICATION_BUTTON = new BooleanSetting("revanced_hide_toolbar_notification_button", FALSE, true);
public static final BooleanSetting HIDE_SEARCH_TERM_THUMBNAIL = new BooleanSetting("revanced_hide_search_term_thumbnail", FALSE);
public static final BooleanSetting HIDE_TRENDING_SEARCHES = new BooleanSetting("revanced_hide_trending_searches", TRUE);
public static final BooleanSetting HIDE_VOICE_SEARCH_BUTTON = new BooleanSetting("revanced_hide_voice_search_button", FALSE, true);
public static final BooleanSetting REPLACE_TOOLBAR_CREATE_BUTTON = new BooleanSetting("revanced_replace_toolbar_create_button", FALSE, true);
public static final BooleanSetting REPLACE_TOOLBAR_CREATE_BUTTON_TYPE = new BooleanSetting("revanced_replace_toolbar_create_button_type", FALSE, true);
Expand Down

0 comments on commit 31366b6

Please sign in to comment.