From 4b41092953fe5d111a9deea882d0faf738e58f90 Mon Sep 17 00:00:00 2001 From: gmachnio Date: Mon, 28 Oct 2024 20:03:38 +0100 Subject: [PATCH] [TF-1681] fix badge size --- .../View/Cells/Components/ComposeServiceBadgeColorView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TwoFAS/TwoFAS/Root/Modules/ComposeService/View/Cells/Components/ComposeServiceBadgeColorView.swift b/TwoFAS/TwoFAS/Root/Modules/ComposeService/View/Cells/Components/ComposeServiceBadgeColorView.swift index 88460b46..38d1bd53 100644 --- a/TwoFAS/TwoFAS/Root/Modules/ComposeService/View/Cells/Components/ComposeServiceBadgeColorView.swift +++ b/TwoFAS/TwoFAS/Root/Modules/ComposeService/View/Cells/Components/ComposeServiceBadgeColorView.swift @@ -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) {