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
@@ -58,7 +58,11 @@ final class RoomContextualMenuViewController: UIViewController, Themable {
private var hiddenToolbarViewBottomConstant: CGFloat {
let bottomSafeAreaHeight: CGFloat
bottomSafeAreaHeight = self.view.safeAreaInsets.bottom
if #available(iOS 11.0, *) {
bottomSafeAreaHeight = self.view.safeAreaInsets.bottom
} else {
bottomSafeAreaHeight = self.bottomLayoutGuide.length
}
return -(self.menuToolbarViewHeightConstraint.constant + bottomSafeAreaHeight)
}