forked from organicmaps/organicmaps
[ios] fix PlacePage screen drop shadow
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
This commit is contained in:
parent
d0d84a5dd5
commit
695cec4f1a
1 changed files with 1 additions and 2 deletions
|
@ -153,7 +153,6 @@ final class PlacePageScrollView: UIScrollView {
|
|||
|
||||
private func setupView() {
|
||||
let bgView = UIView()
|
||||
bgView.setStyle(.ppBackgroundView)
|
||||
stackView.insertSubview(bgView, at: 0)
|
||||
bgView.alignToSuperview()
|
||||
|
||||
|
@ -163,7 +162,7 @@ final class PlacePageScrollView: UIScrollView {
|
|||
stackView.backgroundColor = .clear
|
||||
|
||||
let cornersToMask: CACornerMask = alternativeSizeClass(iPhone: [], iPad: [.layerMinXMaxYCorner, .layerMaxXMaxYCorner])
|
||||
actionBarContainerView.layer.setCorner(radius: 16, corners: cornersToMask)
|
||||
actionBarContainerView.layer.setCornerRadius(.modalSheet, maskedCorners: cornersToMask)
|
||||
actionBarContainerView.layer.masksToBounds = true
|
||||
|
||||
// See https://github.com/organicmaps/organicmaps/issues/6917 for the details.
|
||||
|
|
Loading…
Add table
Reference in a new issue