This commit is contained in:
Ilya Laktyushin 2025-03-17 14:27:27 +04:00
parent 765bca915e
commit 371ec63cc7

View File

@ -293,7 +293,7 @@ public final class GiftItemComponent: Component {
cornerRadius = 10.0 cornerRadius = 10.0
case .profile: case .profile:
size = availableSize size = availableSize
let side = floor(88.0 * availableSize.width / 116.0) let side = floor(88.0 * availableSize.height / 116.0)
iconSize = CGSize(width: side, height: side) iconSize = CGSize(width: side, height: side)
cornerRadius = 10.0 cornerRadius = 10.0
case .thumbnail: case .thumbnail: