Various improvements

This commit is contained in:
Ilya Laktyushin
2025-11-13 08:27:11 +04:00
parent 9527b2d8be
commit 3886b847ae
10 changed files with 69 additions and 13 deletions

View File

@@ -174,7 +174,7 @@ final class EmojiListInputComponent: Component {
let minSideInset: CGFloat = 12.0
self.backgroundColor = component.theme.list.itemBlocksBackgroundColor
self.layer.cornerRadius = 12.0
self.layer.cornerRadius = 26.0
let maxItemsWidth = availableSize.width - minSideInset * 2.0
let itemsPerRow = Int(floor((maxItemsWidth + minItemSize * itemSpacingFactor) / (minItemSize + minItemSize * itemSpacingFactor)))