Revert "#4693 - Drop iOS 11 support."

This reverts commit a2b359f21960e1b9f75139d94adc7aeb35fa479f.
This commit is contained in:
Stefan Ceriu
2021-09-06 17:13:08 +03:00
committed by Stefan Ceriu
parent 88e476fd23
commit 7d6a1cac40
32 changed files with 176 additions and 73 deletions
@@ -71,7 +71,11 @@ class SlidingModalContainerView: UIView, Themable, NibLoadable {
private var dismissContentViewBottomConstant: CGFloat {
let bottomSafeAreaHeight: CGFloat
bottomSafeAreaHeight = self.contentView.safeAreaInsets.bottom
if #available(iOS 11.0, *) {
bottomSafeAreaHeight = self.contentView.safeAreaInsets.bottom
} else {
bottomSafeAreaHeight = 0
}
return -(self.contentViewHeightConstraint.constant + bottomSafeAreaHeight)
}