Fix cover icon alpha

This commit is contained in:
Isaac
2023-11-24 14:21:17 +04:00
parent 68ee038a36
commit ea7f2df382

View File

@@ -376,7 +376,7 @@ public final class PeerInfoCoverComponent: Component {
itemLayer.frame = itemFrame
itemLayer.layerTintColor = UIColor(white: 0.0, alpha: 0.8).cgColor
//transition.setAlpha(layer: itemLayer, alpha: (1.0 - CGFloat(row) / 5.0) * (1.0 - itemScaleFraction))
transition.setAlpha(layer: itemLayer, alpha: 1.0 - itemScaleFraction)
avatarBackgroundPatternLayerCount += 1
}