Various fixes

This commit is contained in:
Ilya Laktyushin
2022-05-03 16:26:55 +04:00
parent 36e341f1a6
commit 0367e35aed
3 changed files with 23 additions and 12 deletions

View File

@@ -375,17 +375,6 @@ final class ChatTitleView: UIView, NavigationBarTitleView {
} else if let (peer, _) = inputActivities.first {
stringValue = EnginePeer(peer).compactDisplayTitle
}
for (peer, _) in inputActivities {
let title = EnginePeer(peer).compactDisplayTitle
if !title.isEmpty {
if first {
first = false
} else {
stringValue += ", "
}
stringValue += title
}
}
}
let color = titleTheme.rootController.navigationBar.accentTextColor
let string = NSAttributedString(string: stringValue, font: subtitleFont, textColor: color)