mirror of
https://github.com/twofas/2fas-ios.git
synced 2024-11-22 02:10:19 +01:00
[TF-1681] fix badge size
This commit is contained in:
parent
4a66a0da91
commit
4b41092953
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user