From c0257e801e00381e9c18b04a10aee7948056bf74 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichorn@users.noreply.github.com> Date: Sun, 22 Oct 2023 03:03:54 -0500 Subject: [PATCH] Update Settings.xm --- Settings.xm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Settings.xm b/Settings.xm index f2c3f3e..a9254f4 100644 --- a/Settings.xm +++ b/Settings.xm @@ -284,6 +284,16 @@ extern NSBundle *uYouPlusBundle(); } settingItemId:0], + [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Hide Videos in Fullscreen") + titleDescription:LOC(@"Hide video player's videos whenever in fullscreen.") + accessibilityIdentifier:nil + switchOn:IsEnabled(@"noVideosInFullscreen_enabled") + switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) { + [[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"noVideosInFullscreen_enabled"]; + return YES; + } + settingItemId:0], + [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Enable YTSpeed") titleDescription:LOC(@"Enable YTSpeed to have more Playback Speed Options. App restart is required.") accessibilityIdentifier:nil