pmusolino / PMAlertController

PMAlertController is a great and customizable alert that can substitute UIAlertController
MIT License
2.52k stars 187 forks source link

Changed the colors for .default and .cancel state buttons #99

Closed Dluzhnevsky closed 3 years ago

Dluzhnevsky commented 3 years ago

The order of the ternary operator's arguments seems to be inverted. Sounds like the red color should be applied to the .cancel state. And grey should be used for the .default state.

pmusolino commented 3 years ago

Hi there. The order's not inverted, as you can see from these screens: preview_pmalertacontroller

Dluzhnevsky commented 3 years ago

Oh, so it is an intended behaviour. My fault. I am used to the cancel button being colored in destructive red. And all the other ones being grey/black. Dismissing the PR then =)