Decathlon/vitamin-ios

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

lauthieb opened this issue · 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

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