fix: redefinition of -userInterfaceIdiom #241
1 changed files with 1 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue