Pārlūkot izejas kodu

truncate subtitle as needed

setContentCompressionResistancePriority() does not make sense here,
the outer avatar and back-button should have a higher priority
B. Petersen 1 gadu atpakaļ
vecāks
revīzija
47815a56bc
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  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
     }()