[ios] fix PlacePage screen drop shadow

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
This commit is contained in:
Kiryl Kaveryn 2025-03-14 19:09:08 +04:00
parent d0d84a5dd5
commit 695cec4f1a
Signed by: kirylkaveryn
SSH key fingerprint: SHA256:P3swI85Rc1ZoE8vyL28Oa6+FgRIaOwsjkKyqcVZ0NtY

View file

@ -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.