mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Fix iPad camera UI
This commit is contained in:
@@ -297,7 +297,7 @@ static CGPoint TGCameraControllerClampPointToScreenSize(__unused id self, __unus
|
||||
}
|
||||
else
|
||||
{
|
||||
_interfaceView = [[TGCameraMainTabletView alloc] initWithFrame:screenBounds];
|
||||
_interfaceView = [[TGCameraMainTabletView alloc] initWithFrame:screenBounds avatar:_intent == TGCameraControllerAvatarIntent];
|
||||
[_interfaceView setInterfaceOrientation:interfaceOrientation animated:false];
|
||||
|
||||
CGSize referenceSize = [self referenceViewSizeForOrientation:interfaceOrientation];
|
||||
|
||||
Reference in New Issue
Block a user