From e81b8b999eea388a249b0bff32d3ba4c249f4cbe Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Sat, 20 Jun 2020 16:12:31 +0300 Subject: [PATCH] Fix iPad camera UI --- submodules/LegacyComponents/Sources/TGCameraController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/LegacyComponents/Sources/TGCameraController.m b/submodules/LegacyComponents/Sources/TGCameraController.m index b107aa0097..d2c7db8292 100644 --- a/submodules/LegacyComponents/Sources/TGCameraController.m +++ b/submodules/LegacyComponents/Sources/TGCameraController.m @@ -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];