mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-21 20:12:03 +00:00
Merge pull request #532 from bhackel/fix/uYou-defaults
Fix/u you defaults
This commit is contained in:
commit
9340b63e3a
1 changed files with 14 additions and 4 deletions
|
|
@ -1418,4 +1418,14 @@ static BOOL findCell(ASNodeController *nodeController, NSArray <NSString *> *ide
|
|||
if (![allKeys containsObject:@"YouPiPEnabled"]) {
|
||||
[[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"YouPiPEnabled"];
|
||||
}
|
||||
// Broken uYou 3.0.3 setting: No Suggested Videos at The Video End
|
||||
// Set default to allow autoplay, user can disable later
|
||||
if (![allKeys containsObject:@"noSuggestedVideoAtEnd"]) {
|
||||
[[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"noSuggestedVideoAtEnd"];
|
||||
}
|
||||
// Broken uYou 3.0.2 setting: Playback Speed Controls
|
||||
// Set default to disabled
|
||||
if (![allKeys containsObject:@"showPlaybackRate"]) {
|
||||
[[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"showPlaybackRate"];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue