Prechádzať zdrojové kódy

truncate subtitle as needed

setContentCompressionResistancePriority() does not make sense here,
the outer avatar and back-button should have a higher priority
B. Petersen 1 rok pred
rodič
commit
47815a56bc
1 zmenil súbory, kde vykonal 0 pridanie a 1 odobranie
  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
     }()