mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-01-11 22:40:19 +00:00
New Option Disable Ambient Mode - #165
This commit is contained in:
parent
e64368002c
commit
1793c4b031
1 changed files with 10 additions and 0 deletions
10
Settings.xm
10
Settings.xm
|
|
@ -1662,6 +1662,16 @@ extern NSBundle *uYouPlusBundle();
|
|||
}
|
||||
settingItemId:0],
|
||||
|
||||
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Disable Ambient Mode")
|
||||
titleDescription:LOC(@"When Enabled, this will Disable the functionality of Ambient Mode in the Video Player and even 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