mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Various fixes
This commit is contained in:
parent
3f9820f2ef
commit
3c61b4a1e4
1 changed files with 1 additions and 1 deletions
|
|
@ -502,7 +502,7 @@ final class GiftsListView: UIView {
|
|||
peer = nil
|
||||
resellAmount = gift.resellAmounts?.first(where: { $0.currency == .stars })
|
||||
|
||||
if let _ = resellAmount {
|
||||
if !(gift.resellAmounts ?? []).isEmpty {
|
||||
ribbonText = params.presentationData.strings.PeerInfo_Gifts_Sale
|
||||
ribbonFont = .larger
|
||||
ribbonColor = .green
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue