mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-20 10:52:07 +00:00
Update Settings.xm
This commit is contained in:
parent
a8440ab26e
commit
c0257e801e
1 changed files with 10 additions and 0 deletions
10
Settings.xm
10
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue