mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Fix more warnings
This commit is contained in:
@@ -715,7 +715,10 @@ const CGFloat TGPhotoAvatarPreviewLandscapePanelSize = TGPhotoAvatarPreviewPanel
|
||||
|
||||
- (void)updateToolViews
|
||||
{
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
UIInterfaceOrientation orientation = self.interfaceOrientation;
|
||||
#pragma clang diagnostic pop
|
||||
if ([self inFormSheet] || TGIsPad())
|
||||
{
|
||||
_landscapeToolsWrapperView.hidden = true;
|
||||
|
||||
Reference in New Issue
Block a user