Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1646,8 +1646,8 @@ public final class io/getstream/chat/android/compose/ui/components/reactions/Rea
public final class io/getstream/chat/android/compose/ui/components/selectedmessage/ComposableSingletons$MessageMenuHeaderKt {
public static final field INSTANCE Lio/getstream/chat/android/compose/ui/components/selectedmessage/ComposableSingletons$MessageMenuHeaderKt;
public fun <init> ()V
public final fun getLambda$1595289781$stream_chat_android_compose_release ()Lkotlin/jvm/functions/Function2;
public final fun getLambda$1869643284$stream_chat_android_compose_release ()Lkotlin/jvm/functions/Function2;
public final fun getLambda$789360109$stream_chat_android_compose_release ()Lkotlin/jvm/functions/Function2;
}

public final class io/getstream/chat/android/compose/ui/components/selectedmessage/ComposableSingletons$ReactionCountRowKt {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ internal fun MediaGalleryPreviewShareIcon(
Icon(
painter = painterResource(id = painter),
contentDescription = stringResource(id = description),
modifier = Modifier.size(24.dp),
modifier = Modifier.size(20.dp),
)
}
}
Expand Down Expand Up @@ -949,6 +949,7 @@ internal fun MediaGalleryPreviewPhotosIcon(
Icon(
painter = painterResource(id = R.drawable.stream_design_ic_gallery),
contentDescription = stringResource(id = R.string.stream_compose_image_preview_photos),
modifier = Modifier.size(20.dp),
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ package io.getstream.chat.android.compose.ui.components.selectedmessage

import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.material3.Icon
import androidx.compose.material3.minimumInteractiveComponentSize
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
Expand All @@ -37,6 +37,7 @@ import io.getstream.chat.android.compose.ui.components.button.StreamButton
import io.getstream.chat.android.compose.ui.components.button.StreamButtonSize
import io.getstream.chat.android.compose.ui.components.button.StreamButtonStyleDefaults
import io.getstream.chat.android.compose.ui.components.reactions.ReactionToggleSize
import io.getstream.chat.android.compose.ui.theme.ChatPreviewTheme
import io.getstream.chat.android.compose.ui.theme.ChatTheme
import io.getstream.chat.android.compose.ui.theme.ReactionToggleParams
import io.getstream.chat.android.compose.ui.theme.StreamTokens
Expand Down Expand Up @@ -71,9 +72,7 @@ public fun MessageMenuHeader(
Row(
modifier = modifier
.background(colors.backgroundCoreElevation2, CircleShape)
.border(1.dp, colors.borderCoreDefault, CircleShape)
.padding(StreamTokens.spacing2xs),
horizontalArrangement = Arrangement.spacedBy(StreamTokens.spacing3xs),
.border(1.dp, colors.borderCoreDefault, CircleShape),
verticalAlignment = Alignment.CenterVertically,
) {
options.forEach { option ->
Expand All @@ -84,7 +83,9 @@ public fun MessageMenuHeader(
size = ReactionToggleSize.Large,
checked = option.isSelected,
onCheckedChange = { _ -> onReactionOptionSelected(option) },
modifier = Modifier.testTag("Stream_Reaction_${option.type}"),
modifier = Modifier
.testTag("Stream_Reaction_${option.type}")
.padding(start = StreamTokens.spacing3xs),
),
)
}
Expand All @@ -94,7 +95,7 @@ public fun MessageMenuHeader(
onClick = onShowMoreReactionsSelected,
style = StreamButtonStyleDefaults.secondaryOutline,
size = StreamButtonSize.Small,
modifier = Modifier,
modifier = Modifier.minimumInteractiveComponentSize(),
) {
Icon(
painter = painterResource(R.drawable.stream_design_ic_plus),
Expand All @@ -108,7 +109,7 @@ public fun MessageMenuHeader(
@Preview(showBackground = true)
@Composable
private fun MessageMenuHeaderPreview() {
ChatTheme {
ChatPreviewTheme {
val reactionType = ChatTheme.reactionResolver.supportedReactions.firstOrNull()

if (reactionType != null) {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading