fix: redefinition of -userInterfaceIdiom

This commit is contained in:
zx
2024-07-12 16:54:26 -04:00
parent 767a0fbe81
commit 9086f42b6e

View File

@@ -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