mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Comment updates
This commit is contained in:
parent
483bcedad0
commit
9b90e94ab8
30 changed files with 174 additions and 145 deletions
|
|
@ -31,6 +31,9 @@ public extension Peer {
|
|||
func displayTitle(strings: PresentationStrings, displayOrder: PresentationPersonNameOrder) -> String {
|
||||
switch self {
|
||||
case let user as TelegramUser:
|
||||
if user.id.isReplies {
|
||||
return strings.DialogList_Replies
|
||||
}
|
||||
if let firstName = user.firstName, !firstName.isEmpty {
|
||||
if let lastName = user.lastName, !lastName.isEmpty {
|
||||
switch displayOrder {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue