Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Boriskov <a.boriskov@corp.mail.ru>2020-01-30 14:40:50 +0300
committerDaria Volvenkova <d.volvenkova@corp.mail.ru>2020-02-12 14:37:51 +0300
commit382dffe7db7620ff25b0f19d0ff079298cda53db (patch)
tree0a64c08243b2b9e266cb0f2324c103a9f418bc91 /iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC
parent17c627d701f91ded3b02a975a9f63abae50ce1e6 (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')
-rw-r--r--iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCAddReview/UGCAddReviewRatingCell.swift1
-rw-r--r--iphone/Maps/UI/PlacePage/PlacePageLayout/Content/UGC/UGCSummaryRatingStarsCell.swift8
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)