mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Fix a compile error
This commit is contained in:
@@ -149,7 +149,7 @@
|
|||||||
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_8_0
|
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_8_0
|
||||||
isPortraitOrientation = UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] statusBarOrientation]);
|
isPortraitOrientation = UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] statusBarOrientation]);
|
||||||
#else
|
#else
|
||||||
isPortraitOrientation = UIInterfaceOrientationIsPortrait(self.interfaceOrientation)
|
isPortraitOrientation = UIInterfaceOrientationIsPortrait(self.interfaceOrientation);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
CGRect frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height);
|
CGRect frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height);
|
||||||
|
|||||||
Reference in New Issue
Block a user