mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-06 17:00:13 +00:00
Various fixes
This commit is contained in:
parent
3f9820f2ef
commit
3c61b4a1e4
@ -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…
x
Reference in New Issue
Block a user