mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-21 16:02:00 +00:00
Update “Fullscreen to the Right” option
This commit is contained in:
parent
44742cf3d7
commit
a9f51b308a
1 changed files with 4 additions and 1 deletions
|
|
@ -1033,7 +1033,10 @@ static int contrastMode() {
|
||||||
%group gFullscreenToTheRight
|
%group gFullscreenToTheRight
|
||||||
%hook YTWatchViewController
|
%hook YTWatchViewController
|
||||||
- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
|
- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
|
||||||
return UIInterfaceOrientationMaskLandscapeRight | UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskPortraitUpsideDown;
|
return UIInterfaceOrientationMaskLandscapeRight;
|
||||||
|
}
|
||||||
|
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation {
|
||||||
|
return UIInterfaceOrientationLandscapeRight;
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
%end
|
%end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue