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: Have constructHeaderActionButtons stop taking message arg
This changes the constructHeaderActionButtons function to take a stream
and topic, instead of a message, since that is conceptually closer to
what it's doing. Since the webview code previously called this path even
for PMs, which don't have a "topic", I've changed the webview code show
a toast when the user long-presses on a PM header. This way, they'll
still be able to see the list of all recipients, but we'll avoid the
somewhat silly action sheet with only a "Cancel" action.
I haven't routed this through to showHeaderActionButton yet, since all
of the button callbacks currently still require a Message, but that's
the goal in the future.
I've manually tested long-pressing a PM header, which correctly shows a
toast displaying the users in the PM.
0 commit comments