From fe172c49cf6536c931be7e5d550fa38cd20485ef Mon Sep 17 00:00:00 2001 From: Kiryl Kaveryn Date: Fri, 14 Mar 2025 19:09:08 +0400 Subject: [PATCH] [ios] fix PlacePage screen drop shadow Signed-off-by: Kiryl Kaveryn --- iphone/Maps/UI/PlacePage/PlacePageViewController.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/iphone/Maps/UI/PlacePage/PlacePageViewController.swift b/iphone/Maps/UI/PlacePage/PlacePageViewController.swift index 8e47d6053d..baa78ccfee 100644 --- a/iphone/Maps/UI/PlacePage/PlacePageViewController.swift +++ b/iphone/Maps/UI/PlacePage/PlacePageViewController.swift @@ -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.