diff --git a/iphone/Maps/Bookmarks/Categories/Categories/BMCCategoryCell.swift b/iphone/Maps/Bookmarks/Categories/Categories/BMCCategoryCell.swift index bdbaaafead..74a22bad5e 100644 --- a/iphone/Maps/Bookmarks/Categories/Categories/BMCCategoryCell.swift +++ b/iphone/Maps/Bookmarks/Categories/Categories/BMCCategoryCell.swift @@ -4,7 +4,6 @@ protocol BMCCategoryCellDelegate: AnyObject { } final class BMCCategoryCell: MWMTableViewCell { - @IBOutlet private weak var accessImageView: UIImageView! @IBOutlet private weak var titleLabel: UILabel! @IBOutlet private weak var subtitleLabel: UILabel! @@ -41,21 +40,6 @@ final class BMCCategoryCell: MWMTableViewCell { func categoryUpdated() { guard let category = category else { return } titleLabel.text = category.title - - switch category.accessStatus { - case .local: - accessImageView.image = UIImage(named: "ic_category_private") - case .public: - accessImageView.image = UIImage(named: "ic_category_public") - case .private: - accessImageView.image = UIImage(named: "ic_category_link") - case .authorOnly: - accessImageView.image = UIImage(named: "ic_category_private") - case .other: - assert(false, "We don't expect category with .other status here") - accessImageView.image = nil - } - subtitleLabel.text = category.placesCountTitle() visibleCheckmark.isChecked = category.isVisible } diff --git a/iphone/Maps/Bookmarks/Categories/Categories/BMCCategoryCell.xib b/iphone/Maps/Bookmarks/Categories/Categories/BMCCategoryCell.xib index 6524d34f2a..b2f6fb8f83 100644 --- a/iphone/Maps/Bookmarks/Categories/Categories/BMCCategoryCell.xib +++ b/iphone/Maps/Bookmarks/Categories/Categories/BMCCategoryCell.xib @@ -61,13 +61,6 @@ - - - - - - - @@ -77,9 +70,7 @@ - - @@ -89,7 +80,6 @@ - @@ -99,7 +89,6 @@ -