diff options
author | Alexander Boriskov <a.boriskov@corp.mail.ru> | 2020-01-30 14:40:50 +0300 |
---|---|---|
committer | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2020-02-12 14:37:51 +0300 |
commit | 382dffe7db7620ff25b0f19d0ff079298cda53db (patch) | |
tree | 0a64c08243b2b9e266cb0f2324c103a9f418bc91 /iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC | |
parent | 17c627d701f91ded3b02a975a9f63abae50ce1e6 (diff) |
[iOS] Fixed visual bugs and crashes in style system
https://jira.mail.ru/browse/MAPSME-12818
Diffstat (limited to 'iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC')
2 files changed, 1 insertions, 8 deletions
diff --git a/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewRatingCell.swift b/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewRatingCell.swift index 0b5481b7c1..95aae89ca2 100644 --- a/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewRatingCell.swift +++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewRatingCell.swift @@ -2,7 +2,6 @@ final class UGCAddReviewRatingCell: MWMTableViewCell { @IBOutlet weak var titleLabel: UILabel! @IBOutlet weak var ratingView: RatingView! { didSet { - ratingView.borderWidth = 0 ratingView.delegate = self } } diff --git a/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCSummaryRatingStarsCell.swift b/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCSummaryRatingStarsCell.swift index cba49b3701..f8b9e80c76 100644 --- a/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCSummaryRatingStarsCell.swift +++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCSummaryRatingStarsCell.swift @@ -1,12 +1,6 @@ final class UGCSummaryRatingStarsCell: UICollectionViewCell { - @IBOutlet private weak var ratingView: RatingView! { - didSet { - ratingView.topTextFont = UIFont.regular10() - ratingView.topTextColor = UIColor.blackSecondaryText() - ratingView.borderWidth = 0 - } - } + @IBOutlet private weak var ratingView: RatingView! func config(rating: UGCRatingStars) { ratingView.topText = L(rating.title) |