Browse Source

truncate subtitle as needed

setContentCompressionResistancePriority() does not make sense here,
the outer avatar and back-button should have a higher priority
B. Petersen 1 năm trước cách đây
mục cha
commit
47815a56bc
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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
     }()