|
|
|
@ -22,6 +22,8 @@ final class ConversationTitleView: UIView {
|
|
|
|
|
|
|
|
|
|
private lazy var titleLabel: UILabel = {
|
|
|
|
|
let result: UILabel = UILabel()
|
|
|
|
|
result.accessibilityIdentifier = "Username"
|
|
|
|
|
result.isAccessibilityElement = true
|
|
|
|
|
result.font = .boldSystemFont(ofSize: Values.mediumFontSize)
|
|
|
|
|
result.themeTextColor = .textPrimary
|
|
|
|
|
result.lineBreakMode = .byTruncatingTail
|
|
|
|
@ -124,8 +126,6 @@ final class ConversationTitleView: UIView {
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
self.titleLabel.text = name
|
|
|
|
|
self.titleLabel.accessibilityIdentifier = "Username"
|
|
|
|
|
self.titleLabel.isAccessibilityElement = true
|
|
|
|
|
self.titleLabel.accessibilityLabel = name
|
|
|
|
|
self.titleLabel.font = .boldSystemFont(
|
|
|
|
|
ofSize: (shouldHaveSubtitle ?
|
|
|
|
|