Update Settings.xm
This commit is contained in:
parent
19849087da
commit
2f0ac9afdd
1 changed files with 12 additions and 11 deletions
23
Settings.xm
23
Settings.xm
|
|
@ -284,6 +284,16 @@ extern NSBundle *uYouPlusBundle();
|
|||
}
|
||||
settingItemId:0],
|
||||
|
||||
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Disable Ambient Mode in Fullscreen")
|
||||
titleDescription:LOC(@"When Enabled, this will Disable the functionality of Ambient Mode from being used in the Video Player when in Fullscreen. App restart is required.")
|
||||
accessibilityIdentifier:nil
|
||||
switchOn:IsEnabled(@"disableAmbientMode_enabled")
|
||||
switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) {
|
||||
[[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"disableAmbientMode_enabled"];
|
||||
return YES;
|
||||
}
|
||||
settingItemId:0],
|
||||
|
||||
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Hide Suggested Videos in Fullscreen")
|
||||
titleDescription:LOC(@"Hide video player's suggested videos whenever in fullscreen.")
|
||||
accessibilityIdentifier:nil
|
||||
|
|
@ -352,6 +362,7 @@ extern NSBundle *uYouPlusBundle();
|
|||
# pragma mark - Video Player Buttons
|
||||
YTSettingsSectionItem *videoPlayerButtonsGroup = [YTSettingsSectionItemClass itemWithTitle:LOC(@"Video Player Button Options") accessibilityIdentifier:nil detailTextBlock:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) {
|
||||
NSArray <YTSettingsSectionItem *> *rows = @[
|
||||
/*
|
||||
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Red Subscribe Button")
|
||||
titleDescription:LOC(@"Replaces the Subscribe Button color from being White to the color Red.")
|
||||
accessibilityIdentifier:nil
|
||||
|
|
@ -371,7 +382,7 @@ extern NSBundle *uYouPlusBundle();
|
|||
return YES;
|
||||
}
|
||||
settingItemId:0],
|
||||
|
||||
*/
|
||||
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Hide the Remix Button under player")
|
||||
titleDescription:LOC(@"Hides the Remix Button under the video player.")
|
||||
accessibilityIdentifier:nil
|
||||
|
|
@ -1714,16 +1725,6 @@ extern NSBundle *uYouPlusBundle();
|
|||
}
|
||||
settingItemId:0],
|
||||
|
||||
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Disable Ambient Mode in Fullscreen")
|
||||
titleDescription:LOC(@"When Enabled, this will Disable the functionality of Ambient Mode from being used in the Video Player when in Fullscreen. App restart is required.")
|
||||
accessibilityIdentifier:nil
|
||||
switchOn:IsEnabled(@"disableAmbientMode_enabled")
|
||||
switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) {
|
||||
[[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"disableAmbientMode_enabled"];
|
||||
return YES;
|
||||
}
|
||||
settingItemId:0],
|
||||
|
||||
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Remove the Modern UI (YTNoModernUI)")
|
||||
titleDescription:LOC(@"When Enabled, this will remove any modern element added to YouTube such as Rounded Buttons, Rounded Hints, Fixes LowContrastMode functionality. App restart is required.")
|
||||
accessibilityIdentifier:nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue