Skip to content

Commit

Permalink
Fix snapshots tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroruizponce committed Oct 7, 2024
1 parent 11bd97c commit 38a1773
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Mistica/Components/Button/Button.swift
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ private extension Button {

func setUpView() {
layer.borderWidth = Constants.borderWidth
layer.masksToBounds = true
isAccessibilityElement = true
updateTraits()
}
Expand Down
1 change: 1 addition & 0 deletions Sources/Mistica/Components/RadioButton/RadioButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public class RadioButton: UIControl {
override public func layoutSubviews() {
super.layoutSubviews()
layer.cornerRadius = bounds.width / 2.0
layer.masksToBounds = true
}

override public var accessibilityTraits: UIAccessibilityTraits {
Expand Down

0 comments on commit 38a1773

Please sign in to comment.