mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
Revert "Revert "#4693 - Drop iOS 11 support.""
This commit is contained in:
committed by
Stefan Ceriu
parent
6cbebdf22b
commit
62cdb29331
@@ -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