mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
improvements
This commit is contained in:
parent
5761556de6
commit
a9511e7c57
1 changed files with 9 additions and 0 deletions
|
|
@ -978,6 +978,15 @@ public extension StarGift {
|
|||
}
|
||||
}
|
||||
|
||||
var title: String {
|
||||
switch self {
|
||||
case let .generic(gift):
|
||||
return gift.title ?? ""
|
||||
case let .unique(gift):
|
||||
return gift.title
|
||||
}
|
||||
}
|
||||
|
||||
var releasedBy: EnginePeer.Id? {
|
||||
switch self {
|
||||
case let .generic(gift):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue