channelEditNameMenu

fun channelEditNameMenu(contract: ChannelEditBottomSheetContract?, onClick: () -> Unit = { contract?.onClickEditName() }): DialogMenuDetail

Returns the default "channel name" menu for the channel edit bottom sheet.

Return

The DialogMenuDetail for the channel name menu.

Since

1.0.0-beta.2

Parameters

contract

The contract to handle the menu click actions.

onClick

The action to be executed when the menu is clicked. Defaults to ChannelSettingsDialogState.showChannelNameEditDialog.

See also