corner radius back

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-11-18 15:40:30 -06:00
parent c2f39f1e0d
commit a19979abd8

View File

@ -65,6 +65,7 @@ public class Badge: View, Accessable {
isAccessibilityElement = true
accessibilityTraits = .staticText
layer.cornerRadius = 2
addSubview(label)
label.pinToSuperView(.init(top: 2, left: 4, bottom: 2, right: 4))