corner radius back
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
c2f39f1e0d
commit
a19979abd8
@ -65,6 +65,7 @@ public class Badge: View, Accessable {
|
|||||||
|
|
||||||
isAccessibilityElement = true
|
isAccessibilityElement = true
|
||||||
accessibilityTraits = .staticText
|
accessibilityTraits = .staticText
|
||||||
|
layer.cornerRadius = 2
|
||||||
|
|
||||||
addSubview(label)
|
addSubview(label)
|
||||||
label.pinToSuperView(.init(top: 2, left: 4, bottom: 2, right: 4))
|
label.pinToSuperView(.init(top: 2, left: 4, bottom: 2, right: 4))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user