mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Remove code used before iOS 11.
This commit is contained in:
@@ -100,11 +100,9 @@ static const CGFloat kInterItemsSpaceHorizontal = 8.0;
|
||||
[super layoutSubviews];
|
||||
|
||||
CGFloat _leftInset = 0.0, _rightInset = 0.0;
|
||||
if (@available(iOS 11, *))
|
||||
{
|
||||
_leftInset += self.safeAreaInsets.left;
|
||||
_rightInset += self.safeAreaInsets.right;
|
||||
}
|
||||
|
||||
_leftInset += self.safeAreaInsets.left;
|
||||
_rightInset += self.safeAreaInsets.right;
|
||||
|
||||
CGFloat leftMargin = MAX(_leftInset, _minimumLeftInset);
|
||||
CGFloat rightMargin = MAX(_rightInset, _minimumRightInset);
|
||||
|
||||
Reference in New Issue
Block a user