Explorar o código

prevent subtitle from being cut off due to a smaller chat main title

cyberta %!s(int64=2) %!d(string=hai) anos
pai
achega
5dd1f408a3
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      deltachat-ios/View/ChatTitleView.swift

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

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