Skip to content

Commit

Permalink
Update uYouPlus.xm
Browse files Browse the repository at this point in the history
  • Loading branch information
arichornlover authored Jun 13, 2024
1 parent 1fe2b9f commit addc8cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/uYouPlus.xm
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit addc8cc

Please sign in to comment.