Companion

object Companion

Functions

Link copied to clipboard
fun defaultOtherTheme(isInDarkMode: Boolean = isSystemInDarkTheme(), typography: StreamTypography = StreamTypography.defaultTypography(), colors: StreamColors = when (isInDarkMode) { true -> StreamColors.defaultDarkColors() else -> StreamColors.defaultColors() }): AudioRecordingAttachmentTheme

Builds the default theming for the audio recording attachment for other users.

Link copied to clipboard
fun defaultOwnTheme(isInDarkMode: Boolean = isSystemInDarkTheme(), typography: StreamTypography = StreamTypography.defaultTypography(), colors: StreamColors = when (isInDarkMode) { true -> StreamColors.defaultDarkColors() else -> StreamColors.defaultColors() }): AudioRecordingAttachmentTheme

Builds the default theming for the audio recording attachment for the current user.

Link copied to clipboard
fun defaultTheme(own: Boolean, isInDarkMode: Boolean = isSystemInDarkTheme(), typography: StreamTypography = StreamTypography.defaultTypography(), colors: StreamColors = when (isInDarkMode) { true -> StreamColors.defaultDarkColors() else -> StreamColors.defaultColors() }): AudioRecordingAttachmentTheme

Builds the default theming for the audio recording attachment.