mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 17:15:32 +00:00
Update Settings.xm
This commit is contained in:
parent
0e5f299038
commit
2d25428338
1 changed files with 10 additions and 0 deletions
10
Settings.xm
10
Settings.xm
|
|
@ -65,6 +65,16 @@ extern NSBundle *uYouPlusBundle();
|
|||
# pragma mark - VideoPlayer
|
||||
YTSettingsSectionItem *videoPlayerGroup = [YTSettingsSectionItemClass itemWithTitle:LOC(@"VIDEO_PLAYER_OPTIONS") accessibilityIdentifier:nil detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[
|
||||
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Enable Portrait Fullscreen")
|
||||
titleDescription:LOC(@"Enables Portrait Fullscreen on the iPhone YouTube App.")
|
||||
accessibilityIdentifier:nil
|
||||
switchOn:IsEnabled(@"portraitFullscreen_enabled")
|
||||
switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) {
|
||||
[[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"portraitFullscreen_enabled"];
|
||||
return YES;
|
||||
}
|
||||
settingItemId:0],
|
||||
|
||||
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"DISABLE_DOUBLE_TAP_TO_SEEK")
|
||||
titleDescription:LOC(@"DISABLE_DOUBLE_TAP_TO_SEEK_DESC")
|
||||
accessibilityIdentifier:nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue