[TF-1681] fix badge size

This commit is contained in:
gmachnio 2024-10-28 20:03:38 +01:00
parent 4a66a0da91
commit 4b41092953

View File

@ -21,7 +21,7 @@ import UIKit
import Common
final class ComposeServiceBadgeColorView: UIView {
private let badgeColorDimension: CGFloat = 30
private let badgeColorDimension: CGFloat = 20
override init(frame: CGRect) {
super.init(frame: frame)
@ -34,7 +34,7 @@ final class ComposeServiceBadgeColorView: UIView {
}
private func commonInit() {
applyRoundedCorners(withBackgroundColor: .black, cornerRadius: 15)
applyRoundedCorners(withBackgroundColor: .black, cornerRadius: badgeColorDimension / 2)
}
func setBadgeColor(_ tintColor: TintColor) {