Skip to content

Commit

Permalink
truncate subtitle as needed
Browse files Browse the repository at this point in the history
setContentCompressionResistancePriority() does not make sense here,
the outer avatar and back-button should have a higher priority
  • Loading branch information
r10s committed Oct 22, 2023
1 parent e5fc2ae commit 47815a5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion deltachat-ios/View/ChatTitleView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}()

Expand Down

0 comments on commit 47815a5

Please sign in to comment.