Skip to content

action sheets [nfc]: Factor out makeButtonCallback.#4566

Merged
WesleyAC merged 1 commit intozulip:masterfrom
gnprice:pr-makebuttoncallback
Mar 27, 2021
Merged

action sheets [nfc]: Factor out makeButtonCallback.#4566
WesleyAC merged 1 commit intozulip:masterfrom
gnprice:pr-makebuttoncallback

Conversation

@gnprice
Copy link
Copy Markdown
Member

@gnprice gnprice commented Mar 26, 2021

This deduplicates a bit of code, notably the try/catch and the alert on error.

A small followup to #4541 (review) .

This deduplicates a bit of code, notably the try/catch and the
alert on error.
Copy link
Copy Markdown
Contributor

@WesleyAC WesleyAC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, nice! I didn't think to pass in the entire Args object when I was writing this, that makes sense.

@WesleyAC WesleyAC merged commit 50d6d10 into zulip:master Mar 27, 2021
@gnprice gnprice deleted the pr-makebuttoncallback branch April 1, 2021 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants