mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-20 10:52:07 +00:00
Update uYouPlus.xm
This commit is contained in:
parent
1fe2b9f684
commit
addc8cc914
1 changed files with 2 additions and 2 deletions
|
|
@ -802,13 +802,13 @@ static int contrastMode() {
|
|||
if ([self fullscreen] && UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) {
|
||||
return UIInterfaceOrientationLandscapeRight;
|
||||
}
|
||||
return [super preferredInterfaceOrientationForPresentation];
|
||||
return %orig;
|
||||
}
|
||||
- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
|
||||
if ([self fullscreen] && UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) {
|
||||
return UIInterfaceOrientationMaskLandscape;
|
||||
}
|
||||
return [super supportedInterfaceOrientations];
|
||||
return %orig;
|
||||
}
|
||||
%new
|
||||
- (void)forceRightFullscreenOrientation {
|
||||
|
|
|
|||
Loading…
Reference in a new issue