channelEditCoverMenu

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

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

Return

The DialogMenuDetail for the channel cover menu.

Since

1.0.0

Parameters

contract

The contract to handle the menu click actions.

onClick

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

See also