Skip to content
Merged
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 @@ -12,6 +12,7 @@ import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.widthIn
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.foundation.text.selection.SelectionContainer
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.CompositionLocalProvider
Expand Down Expand Up @@ -84,11 +85,13 @@ private fun TextBubble(
maxWidth: Dp,
) {
Bubble(isFromSelf, position, maxWidth) {
Text(
text = text,
style = CodeTheme.typography.textSmall,
color = CodeTheme.colors.textMain,
)
SelectionContainer {
Text(
text = text,
style = CodeTheme.typography.textSmall,
color = CodeTheme.colors.textMain,
)
}
}
}

Expand Down
Loading