fix: redefinition of -userInterfaceIdiom #241

Merged
asdfzxcvbn merged 1 commit from main into main 2024-07-12 21:58:00 +00:00

View file

@ -631,10 +631,7 @@ BOOL isTabSelected = NO;
// Miscellaneous
%group giPadLayout // https://github.com/LillieH001/YouTube-Reborn
%hook UIDevice
- (long long)userInterfaceIdiom {
return YES;
}
- (NSInteger)userInterfaceIdiom {
- (UIUserInterfaceIdiom)userInterfaceIdiom {
return UIUserInterfaceIdiomPad;
}
%end