The problem is that a Button which has text-decoration has its setAttributedTitleForState method called. When we change the text and call only the setTitleForState method nothing changes. We have to call the setAttributedTitleForState method as well.
Reactions are currently unavailable
The problem is that a Button which has text-decoration has its setAttributedTitleForState method called. When we change the text and call only the setTitleForState method nothing changes. We have to call the setAttributedTitleForState method as well.