We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f9820f commit 3c61b4aCopy full SHA for 3c61b4a
submodules/TelegramUI/Components/PeerInfo/PeerInfoVisualMediaPaneNode/Sources/GiftsListView.swift
@@ -502,7 +502,7 @@ final class GiftsListView: UIView {
502
peer = nil
503
resellAmount = gift.resellAmounts?.first(where: { $0.currency == .stars })
504
505
- if let _ = resellAmount {
+ if !(gift.resellAmounts ?? []).isEmpty {
506
ribbonText = params.presentationData.strings.PeerInfo_Gifts_Sale
507
ribbonFont = .larger
508
ribbonColor = .green
0 commit comments