You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ActionSheets: Get rid of makeButtonCallback function
Now that we want to pass different arguments to different types of
action sheet buttons, it doesn't make much sense to have them all
call the same makeButtonCallback function.
I spent a little while trying to write makeButtonCallback with a type
parameter, but I wasn't able to find a way to do that that made flow
happy, and I suspect that even if I did, it'd be harder to understand
than just duplicating a few lines of code. We can definitely come back to
this if we end up with a lot of actionsheets, though.
0 commit comments