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