fix: redefinition of -userInterfaceIdiom
This commit is contained in:
parent
767a0fbe81
commit
9086f42b6e
1 changed files with 1 additions and 4 deletions
|
|
@ -631,10 +631,7 @@ BOOL isTabSelected = NO;
|
||||||
// Miscellaneous
|
// Miscellaneous
|
||||||
%group giPadLayout // https://github.com/LillieH001/YouTube-Reborn
|
%group giPadLayout // https://github.com/LillieH001/YouTube-Reborn
|
||||||
%hook UIDevice
|
%hook UIDevice
|
||||||
- (long long)userInterfaceIdiom {
|
- (UIUserInterfaceIdiom)userInterfaceIdiom {
|
||||||
return YES;
|
|
||||||
}
|
|
||||||
- (NSInteger)userInterfaceIdiom {
|
|
||||||
return UIUserInterfaceIdiomPad;
|
return UIUserInterfaceIdiomPad;
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue