Skip to content

Conversation

PIG208
Copy link
Member

@PIG208 PIG208 commented Dec 10, 2024

Copy link
Member

@gnprice gnprice left a comment

Choose a reason for hiding this comment

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

Thanks!

I'll go ahead and merge this. @chrisbobbe I believe you were done with reviews on this part of #1041, based on your last couple of reviews there.

The tiny last commit at the end, I'm not sure I like the API change it makes. (Comment below.) So I'll leave that one out.

return GestureDetector(
behavior: HitTestBehavior.translucent,
onLongPress: () => showMessageActionSheet(context: context, message: message),
onLongPress: () => showMessageActionSheet(context, message: message),
Copy link
Member

Choose a reason for hiding this comment

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

I guess this one last commit doesn't convince me:
53a24b0 action_sheet [nfc]: Make showMessageActionSheet's context an unnamed param

The existing API there matches that of upstream's showModalBottomSheet. I think in turn the idea there is that it's similar in flavor to a widget constructor; and those always take all named arguments.

@gnprice gnprice merged commit cf19d68 into zulip:main Dec 10, 2024
1 check passed
@gnprice
Copy link
Member

gnprice commented Dec 10, 2024

Merged. @rajveermalviya FYI — this version has fixed that issue you discovered when combining #1103 with the corresponding commits in a previous revision of #1041, so I expect a merge conflict but it should be easy to fix by just dropping the commits that came from #1041 when you rebase #1103 atop the new main.

@PIG208 PIG208 deleted the pr-muting-prep branch December 11, 2024 23:29
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