You’ve refactored legacy screens. When did .tint hide a real bug?

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

A cautionary tale about masking bugs with styling: a destructive button was made to look disabled by changing its tint color to gray instead of actually disabling it in code. The button still fired its action, eventually causing accidental data deletion. The fix was enforcing the disabled state with `.disabled()` and guarding

1m watch time

Sort: