mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 21:26:04 +00:00
Remove In-App Rating Prompt
Hopefully this removes the prompt asking you to rate the app.
This commit is contained in:
parent
fe23399a42
commit
7ad0a72281
1 changed files with 12 additions and 0 deletions
|
|
@ -221,6 +221,18 @@ static NSString *accessGroupID() {
|
|||
}
|
||||
%end
|
||||
|
||||
// Remove App Rating Prompt in YouTube - @arichornlover
|
||||
%hook UIApplication
|
||||
- (BOOL)canOpenURL:(NSURL *)url {
|
||||
NSString *urlString = url.absoluteString;
|
||||
if ([urlString containsString:@"itunes.apple.com/app/id"]) {
|
||||
return NO;
|
||||
}
|
||||
|
||||
return %orig;
|
||||
}
|
||||
%end
|
||||
|
||||
// YTMiniPlayerEnabler: https://github.com/level3tjg/YTMiniplayerEnabler/
|
||||
%hook YTWatchMiniBarViewController
|
||||
- (void)updateMiniBarPlayerStateFromRenderer {
|
||||
|
|
|
|||
Loading…
Reference in a new issue