feat(YouTube - Player flyout menu): Hide sleep timer (#3637)

This commit is contained in:
Zain
2024-10-27 03:54:14 +07:00
committed by oSumAtrIX
parent 806b21093e
commit 7e1bdab520
4 changed files with 10 additions and 0 deletions

View File

@ -71,6 +71,10 @@ public class PlayerFlyoutMenuItemsFilter extends Filter {
Settings.HIDE_AUDIO_TRACK_MENU,
"yt_outline_person_radar"
),
new ByteArrayFilterGroup(
Settings.HIDE_PLAYER_FLYOUT_MENU_SLEEP_TIMER,
"yt_outline_moon_z_"
),
new ByteArrayFilterGroup(
Settings.HIDE_WATCH_IN_VR_MENU,
"yt_outline_vr"

View File

@ -187,6 +187,7 @@ public class Settings extends BaseSettings {
public static final BooleanSetting HIDE_MORE_INFO_MENU = new BooleanSetting("revanced_hide_player_flyout_more_info", TRUE);
public static final BooleanSetting HIDE_LOCK_SCREEN_MENU = new BooleanSetting("revanced_hide_player_flyout_lock_screen", FALSE);
public static final BooleanSetting HIDE_AUDIO_TRACK_MENU = new BooleanSetting("revanced_hide_player_flyout_audio_track", FALSE);
public static final BooleanSetting HIDE_PLAYER_FLYOUT_MENU_SLEEP_TIMER = new BooleanSetting("revanced_hide_player_flyout_sleep_timer", FALSE);
public static final BooleanSetting HIDE_WATCH_IN_VR_MENU = new BooleanSetting("revanced_hide_player_flyout_watch_in_vr", TRUE);
public static final BooleanSetting HIDE_VIDEO_QUALITY_MENU_FOOTER = new BooleanSetting("revanced_hide_video_quality_menu_footer", FALSE);