mirror of
https://github.com/YTLitePlus/YTLitePlus.git
synced 2026-04-21 11:11:58 +00:00
Fix Google sign in
This commit is contained in:
parent
c8f0fef06c
commit
ae2957dfcb
1 changed files with 10 additions and 0 deletions
|
|
@ -67,6 +67,16 @@ static BOOL IsEnabled(NSString *key) {
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
// Fix Google Sign in by @PoomSmart and @level3tjg (qnblackcat/uYouPlus#684)
|
||||||
|
%hook NSBundle
|
||||||
|
- (NSDictionary *)infoDictionary {
|
||||||
|
NSMutableDictionary *info = %orig.mutableCopy;
|
||||||
|
if ([self isEqual:NSBundle.mainBundle])
|
||||||
|
info[@"CFBundleIdentifier"] = @"com.google.ios.youtube";
|
||||||
|
return info;
|
||||||
|
}
|
||||||
|
%end
|
||||||
|
|
||||||
// Skips content warning before playing *some videos - @PoomSmart
|
// Skips content warning before playing *some videos - @PoomSmart
|
||||||
%hook YTPlayabilityResolutionUserActionUIController
|
%hook YTPlayabilityResolutionUserActionUIController
|
||||||
- (void)showConfirmAlert { [self confirmAlertDidPressConfirm]; }
|
- (void)showConfirmAlert { [self confirmAlertDidPressConfirm]; }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue