diff --git a/iphone/Maps/UI/PlacePage/Components/PlacePagePreviewViewController.swift b/iphone/Maps/UI/PlacePage/Components/PlacePagePreviewViewController.swift index 646b3eb4c..589efd375 100644 --- a/iphone/Maps/UI/PlacePage/Components/PlacePagePreviewViewController.swift +++ b/iphone/Maps/UI/PlacePage/Components/PlacePagePreviewViewController.swift @@ -84,9 +84,12 @@ final class PlacePagePreviewViewController: UIViewController { subtitleString.append(NSAttributedString(string: !subtitleString.string.isEmpty ? " • " + subtitle : subtitle, attributes: [.foregroundColor : UIColor.blackSecondaryText(), .font : UIFont.regular14()])) + subtitleLabel.attributedText = subtitleString + subtitleContainerView.isHidden = false + } else { + subtitleLabel.text = nil + subtitleContainerView.isHidden = true } - - subtitleLabel.attributedText = subtitleString } placePageDirectionView = subtitleDirectionView