mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
#4693 - Drop iOS 11 support.
This commit is contained in:
committed by
Stefan Ceriu
parent
9ed36b1690
commit
ef3fb0433e
@@ -58,11 +58,7 @@ final class RoomContextualMenuViewController: UIViewController, Themable {
|
||||
private var hiddenToolbarViewBottomConstant: CGFloat {
|
||||
let bottomSafeAreaHeight: CGFloat
|
||||
|
||||
if #available(iOS 11.0, *) {
|
||||
bottomSafeAreaHeight = self.view.safeAreaInsets.bottom
|
||||
} else {
|
||||
bottomSafeAreaHeight = self.bottomLayoutGuide.length
|
||||
}
|
||||
bottomSafeAreaHeight = self.view.safeAreaInsets.bottom
|
||||
|
||||
return -(self.menuToolbarViewHeightConstraint.constant + bottomSafeAreaHeight)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user