Fix MessageDetail textStyle

This commit is contained in:
Andrew 2024-06-14 15:53:46 +09:30
parent c9ad0be530
commit 969018e640

View File

@ -71,6 +71,7 @@ import org.thoughtcrime.securesms.ui.Palette
import org.thoughtcrime.securesms.ui.SessionColorsParameterProvider
import org.thoughtcrime.securesms.ui.TitledText
import org.thoughtcrime.securesms.ui.base
import org.thoughtcrime.securesms.ui.baseBold
import org.thoughtcrime.securesms.ui.baseMonospace
import org.thoughtcrime.securesms.ui.blackAlpha40
import org.thoughtcrime.securesms.ui.destructiveButtonColors
@ -392,7 +393,7 @@ fun TitledText(
@Composable
fun TitledView(title: GetString, modifier: Modifier = Modifier, content: @Composable () -> Unit) {
Column(modifier = modifier, verticalArrangement = Arrangement.spacedBy(4.dp)) {
Text(title.string())
Text(title.string(), style = baseBold)
content()
}
}