Преглед изворни кода

truncate subtitle as needed

setContentCompressionResistancePriority() does not make sense here,
the outer avatar and back-button should have a higher priority
B. Petersen пре 1 година
родитељ
комит
47815a56bc
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0 1
      deltachat-ios/View/ChatTitleView.swift

+ 0 - 1
deltachat-ios/View/ChatTitleView.swift

@@ -37,7 +37,6 @@ class ChatTitleView: UIView {
         subtitleLabel.translatesAutoresizingMaskIntoConstraints = false
         subtitleLabel.font = UIFont.systemFont(ofSize: 12)
         subtitleLabel.textAlignment = .center
-        subtitleLabel.setContentCompressionResistancePriority(.required, for: .horizontal)
         return subtitleLabel
     }()