mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-20 10:52:07 +00:00
Undo some changes
This commit is contained in:
parent
ad33154c18
commit
8cbbc3093f
1 changed files with 0 additions and 18 deletions
18
uYouPlus.xm
18
uYouPlus.xm
|
|
@ -4,24 +4,6 @@
|
|||
static BOOL IsEnabled(NSString *key) {
|
||||
return [[NSUserDefaults standardUserDefaults] boolForKey:key];
|
||||
}
|
||||
static int youtubeLogo() {
|
||||
return [[NSUserDefaults standardUserDefaults] integerForKey:@"ytlogo"];
|
||||
}
|
||||
static BOOL hideYouTubeLogo() {
|
||||
return IsEnabled(@"hideYouTubeLogo_enabled") && youtubeLogo() == 0;
|
||||
}
|
||||
static BOOL defaultYouTubeLogo() {
|
||||
return IsEnabled(@"defaultYouTubeLogo_enabled") && youtubeLogo() == 1;
|
||||
}
|
||||
static BOOL centerYouTubeLogo() {
|
||||
return IsEnabled(@"centerYouTubeLogo_enabled") && youtubeLogo() == 2;
|
||||
}
|
||||
static BOOL premiumYouTubeLogo() {
|
||||
return IsEnabled(@"premiumYouTubeLogo_enabled") && youtubeLogo() == 3;
|
||||
}
|
||||
static BOOL customYouTubeLogo() {
|
||||
return IsEnabled(@"customYouTubeLogo_enabled") && youtubeLogo() == 4;
|
||||
}
|
||||
|
||||
// Tweak's bundle for Localizations support - @PoomSmart - https://github.com/PoomSmart/YouPiP/commit/aea2473f64c75d73cab713e1e2d5d0a77675024f
|
||||
NSBundle *uYouPlusBundle() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue