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

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