Explorar o código

fix jumping of mute/pin icons in chat list cells

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

+ 2 - 1
deltachat-ios/View/ContactCell.swift

@@ -72,7 +72,8 @@ class ContactCell: UITableViewCell {
         label.font = UIFont.systemFont(ofSize: 14)
         label.textColor = DcColors.middleGray
         label.textAlignment = .right
-        label.setContentCompressionResistancePriority(UILayoutPriority(rawValue: 2), for: NSLayoutConstraint.Axis.horizontal)
+        label.setContentHuggingPriority(.defaultHigh, for: NSLayoutConstraint.Axis.horizontal)
+        label.setContentCompressionResistancePriority(UILayoutPriority(rawValue: 10), for: NSLayoutConstraint.Axis.horizontal)
         return label
     }()