mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix wearable gifts list
This commit is contained in:
parent
80f4410f42
commit
abb6abdf94
2 changed files with 2 additions and 1 deletions
|
|
@ -99,6 +99,7 @@ public final class CollectionTabItemComponent: Component {
|
|||
pointSize: iconSize,
|
||||
loopCount: 1
|
||||
)
|
||||
iconLayer.isVisibleForAnimations = true
|
||||
self.layer.addSublayer(iconLayer)
|
||||
self.iconLayer = iconLayer
|
||||
}
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@ final class GiftListItemComponent: Component {
|
|||
))
|
||||
|
||||
for gift in component.starGifts {
|
||||
guard case let .generic(gift) = gift, let title = gift.title else {
|
||||
guard case let .generic(gift) = gift, let title = gift.title, let resale = gift.availability?.resale, resale > 0 else {
|
||||
continue
|
||||
}
|
||||
tabSelectorItems.append(TabSelectorComponent.Item(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue