Merge pull request #241 from TbhLovers/main

fix: redefinition of -userInterfaceIdiom
This commit is contained in:
arichornlover 2024-07-12 16:58:00 -05:00 committed by GitHub
commit 690ed21204
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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