From c996986282d5b21a3cf3999bfd0266c20e417680 Mon Sep 17 00:00:00 2001 From: Aleksey Belousov Date: Tue, 16 Jun 2020 18:10:55 +0300 Subject: [PATCH] [iOS] fix expandable label bg color (especially in night mode) --- iphone/Maps/UI/PlacePage/Views/ExpandableLabel.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/iphone/Maps/UI/PlacePage/Views/ExpandableLabel.swift b/iphone/Maps/UI/PlacePage/Views/ExpandableLabel.swift index 017135fc08..d646aa9f6f 100644 --- a/iphone/Maps/UI/PlacePage/Views/ExpandableLabel.swift +++ b/iphone/Maps/UI/PlacePage/Views/ExpandableLabel.swift @@ -102,6 +102,7 @@ final class ExpandableLabel: UIView { textView.text = text textView.attributedText = attributedText textView.setContentHuggingPriority(contentHuggingPriority(for: .vertical), for: .vertical) + textView.backgroundColor = .clear expandLabel.setContentHuggingPriority(contentHuggingPriority(for: .vertical), for: .vertical) expandLabel.font = font expandLabel.textColor = expandColor