Update “Fullscreen to the Right” option

This commit is contained in:
aric3435 (INACTIVE) 2024-11-02 19:11:29 -05:00 committed by GitHub
parent 44742cf3d7
commit a9f51b308a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1033,7 +1033,10 @@ static int contrastMode() {
%group gFullscreenToTheRight
%hook YTWatchViewController
- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
return UIInterfaceOrientationMaskLandscapeRight | UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskPortraitUpsideDown;
return UIInterfaceOrientationMaskLandscapeRight;
}
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation {
return UIInterfaceOrientationLandscapeRight;
}
%end
%end