#4693 - Drop iOS 11 support.

This commit is contained in:
Stefan Ceriu
2021-09-01 12:44:15 +03:00
committed by Stefan Ceriu
parent 9ed36b1690
commit ef3fb0433e
32 changed files with 73 additions and 176 deletions
@@ -71,11 +71,7 @@ class SlidingModalContainerView: UIView, Themable, NibLoadable {
private var dismissContentViewBottomConstant: CGFloat {
let bottomSafeAreaHeight: CGFloat
if #available(iOS 11.0, *) {
bottomSafeAreaHeight = self.contentView.safeAreaInsets.bottom
} else {
bottomSafeAreaHeight = 0
}
bottomSafeAreaHeight = self.contentView.safeAreaInsets.bottom
return -(self.contentViewHeightConstraint.constant + bottomSafeAreaHeight)
}