Various fixes

This commit is contained in:
Ilya Laktyushin
2022-07-25 05:36:30 +03:00
parent dcaf459f81
commit 05f2bf7b85
10 changed files with 249 additions and 195 deletions

View File

@@ -820,7 +820,9 @@ private final class PremiumGiftScreenComponent: CombinedComponent {
}
strongSelf.products = gifts
strongSelf.selectedProductId = strongSelf.products?.first?.id
if strongSelf.selectedProductId == nil {
strongSelf.selectedProductId = strongSelf.products?.first?.id
}
strongSelf.peer = peer
strongSelf.updated(transition: .immediate)
}