mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Fix more warnings
This commit is contained in:
@@ -1701,7 +1701,7 @@
|
||||
}
|
||||
|
||||
- (CGRect)doneButtonFrame {
|
||||
if (UIDeviceOrientationIsPortrait([self interfaceOrientation])) {
|
||||
if (UIDeviceOrientationIsPortrait((UIDeviceOrientation)[self interfaceOrientation])) {
|
||||
return [_portraitToolbarView.doneButton convertRect:_portraitToolbarView.doneButton.bounds toView:nil];
|
||||
} else {
|
||||
return [_landscapeToolbarView.doneButton convertRect:_landscapeToolbarView.doneButton.bounds toView:nil];
|
||||
|
||||
Reference in New Issue
Block a user