Package 

Class DefaultChannelSwipeActionsKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit DefaultChannelSwipeActions(ItemState.ChannelItemState channelItem) Default swipe actions for a channel list item.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • DefaultChannelSwipeActions

        @Composable() final static Unit DefaultChannelSwipeActions(ItemState.ChannelItemState channelItem)

        Default swipe actions for a channel list item.

        Shows two actions:

        • More (gray, left): Opens the channel options bottom sheet.

        • Primary action (blue, right): Mute/Unmute channel.

        Each action is a self-executing ChannelAction that invokes its handler via LocalSwipeActionHandler.

        Parameters:
        channelItem - The channel item state to build actions for.