fix: redefinition of -userInterfaceIdiom

This commit is contained in:
zx 2024-07-12 16:54:26 -04:00
parent 767a0fbe81
commit 9086f42b6e
No known key found for this signature in database

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