mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-20 10:52:07 +00:00
Added Hide the Download Button under player Option
Option was made by arichorn Option was based off of MiRO92’s uYou Tweak
This commit is contained in:
parent
413cb22444
commit
bc1a3fd1af
1 changed files with 10 additions and 0 deletions
10
Settings.xm
10
Settings.xm
|
|
@ -1641,6 +1641,16 @@ extern NSBundle *uYouPlusBundle();
|
|||
}
|
||||
settingItemId:0],
|
||||
|
||||
[YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Hide the Download Button under player")
|
||||
titleDescription:LOC(@"Hides the Download Button below the player.")
|
||||
accessibilityIdentifier:nil
|
||||
switchOn:IsEnabled(@"hideAddToOfflineButton_enabled")
|
||||
switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) {
|
||||
[[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"hideAddToOfflineButton_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