mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Refactoring
This commit is contained in:
parent
1a04fb4408
commit
c9f009eae7
59 changed files with 614 additions and 399 deletions
|
|
@ -60,3 +60,13 @@ public extension Peer {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
public extension EnginePeer {
|
||||
var compactDisplayTitle: String {
|
||||
return self._asPeer().compactDisplayTitle
|
||||
}
|
||||
|
||||
func displayTitle(strings: PresentationStrings, displayOrder: PresentationPersonNameOrder) -> String {
|
||||
return self._asPeer().displayTitle(strings: strings, displayOrder: displayOrder)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue