PollMoreOptionsDialog

fun PollMoreOptionsDialog(selectedPoll: SelectedPoll?, listViewModel: MessageListViewModel, onDismissRequest: () -> Unit, onBackPressed: () -> Unit)

A dialog that should be shown if a user taps the seeing more options on the poll message.

Parameters

selectedPoll

The current poll that contains all the states.

listViewModel

The MessageListViewModel used to read state from.

onDismissRequest

Handler for dismissing the dialog.

onBackPressed

Handler for pressing a back button.