Update Settings.xm
This commit is contained in:
parent
a40becdb44
commit
4bfbcd5f6a
1 changed files with 11 additions and 1 deletions
12
Settings.xm
12
Settings.xm
|
|
@ -1674,7 +1674,7 @@ extern NSBundle *uYouPlusBundle();
|
|||
settingItemId:0],
|
||||
|
||||
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Hide the Download Button under player")
|
||||
titleDescription:LOC(@"Hides the Download Button below the player.")
|
||||
titleDescription:LOC(@"Hides the Download Button under the video player.")
|
||||
accessibilityIdentifier:nil
|
||||
switchOn:IsEnabled(@"hideAddToOfflineButton_enabled")
|
||||
switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) {
|
||||
|
|
@ -1683,6 +1683,16 @@ extern NSBundle *uYouPlusBundle();
|
|||
}
|
||||
settingItemId:0],
|
||||
|
||||
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Hide the Remix Button under player")
|
||||
titleDescription:LOC(@"Hides the Remix Button under the video player.")
|
||||
accessibilityIdentifier:nil
|
||||
switchOn:IsEnabled(@"hideRemixButton_enabled")
|
||||
switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) {
|
||||
[[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"hideRemixButton_enabled"];
|
||||
return YES;
|
||||
}
|
||||
settingItemId:0],
|
||||
|
||||
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Hide the comment section under player")
|
||||
titleDescription:LOC(@"Hides the Comment Section below the player.")
|
||||
accessibilityIdentifier:nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue