Commit 38f15d83 authored by Soomin Lee's avatar Soomin Lee

VLCActionSheet: Fix bottomBackgroundView default height

On < iOS 11 devices the height was setted as if it was an iPhoneX
parent d57be5a9
......@@ -104,7 +104,7 @@ class VLCActionSheet: UIViewController {
}()
fileprivate lazy var bottomBackgroundViewHeightConstraint: NSLayoutConstraint = {
let bottomBackgroundViewHeightConstraint = bottomBackgroundView.heightAnchor.constraint(equalToConstant: cellHeight)
let bottomBackgroundViewHeightConstraint = bottomBackgroundView.heightAnchor.constraint(equalToConstant: 0)
return bottomBackgroundViewHeightConstraint
}()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment