mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Revert "Revert "#4693 - Drop iOS 11 support.""
This commit is contained in:
committed by
Stefan Ceriu
parent
073d4e3994
commit
f1d3e5af9d
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user