From 553c198171890e59696e7860697e1d8c07b6e7f2 Mon Sep 17 00:00:00 2001 From: Alexander Borsuk Date: Fri, 21 May 2021 23:59:55 +0200 Subject: [PATCH] [ios] Removed unused authorImage in Place Page Signed-off-by: Alexander Borsuk --- .../PlacePageDividerViewController.swift | 7 ------- iphone/Maps/UI/PlacePage/PlacePage.storyboard | 14 -------------- .../Layouts/PlacePageCommonLayout.swift | 4 ---- 3 files changed, 25 deletions(-) diff --git a/iphone/Maps/UI/PlacePage/Components/PlacePageDividerViewController.swift b/iphone/Maps/UI/PlacePage/Components/PlacePageDividerViewController.swift index 22b131e2af..3b2f68a485 100644 --- a/iphone/Maps/UI/PlacePage/Components/PlacePageDividerViewController.swift +++ b/iphone/Maps/UI/PlacePage/Components/PlacePageDividerViewController.swift @@ -1,6 +1,5 @@ final class PlacePageDividerViewController: UIViewController { @IBOutlet private var titleLabel: UILabel! - @IBOutlet private var authorIcon: UIImageView! var titleText: String? { didSet { @@ -8,12 +7,6 @@ final class PlacePageDividerViewController: UIViewController { } } - var isAuthorIconHidden = true { - didSet { - authorIcon.isHidden = isAuthorIconHidden - } - } - override func viewDidLoad() { super.viewDidLoad() } diff --git a/iphone/Maps/UI/PlacePage/PlacePage.storyboard b/iphone/Maps/UI/PlacePage/PlacePage.storyboard index 1fa0b0a7c7..0d29be7504 100644 --- a/iphone/Maps/UI/PlacePage/PlacePage.storyboard +++ b/iphone/Maps/UI/PlacePage/PlacePage.storyboard @@ -2359,16 +2359,6 @@ - @@ -2377,15 +2367,12 @@ - - - @@ -2402,7 +2389,6 @@ - diff --git a/iphone/Maps/UI/PlacePage/PlacePageLayout/Layouts/PlacePageCommonLayout.swift b/iphone/Maps/UI/PlacePage/PlacePageLayout/Layouts/PlacePageCommonLayout.swift index 1cfb62896e..478a1dc4ef 100644 --- a/iphone/Maps/UI/PlacePage/PlacePageLayout/Layouts/PlacePageCommonLayout.swift +++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/Layouts/PlacePageCommonLayout.swift @@ -48,10 +48,6 @@ class PlacePageCommonLayout: NSObject, IPlacePageLayout { lazy var descriptionDividerViewController: PlacePageDividerViewController = { let vc = storyboard.instantiateViewController(ofType: PlacePageDividerViewController.self) vc.view.isHidden = true - if let bookmarkData = placePageData.bookmarkData { - let group = BookmarkGroup(categoryId: bookmarkData.bookmarkGroupId, bookmarksManager: BookmarksManager.shared()) - vc.isAuthorIconHidden = true - } vc.titleText = L("placepage_place_description").uppercased() return vc } ()