vitamin-ios icon indicating copy to clipboard operation
vitamin-ios copied to clipboard

bug: the `setTitle` function removes text style of the buttons on iOS12

Open lauthieb opened this issue 3 years ago • 1 comments

Describe the bug

When using the setTitle function which is override on Vitamin:

public override func setTitle(_ title: String?, for state: UIControl.State) {
    super.setTitle(title, for: state)
    applyNewTextStyle()
}

The textstyle on the button is no longer applied on iOS 12

lauthieb avatar Jan 21 '22 09:01 lauthieb

it could be worth checking if #102 has fixed this issue

daniel-dumortier avatar Feb 06 '23 16:02 daniel-dumortier