Browse Source

Use `ElementTheme` as much as possible

pull/912/head
Jorge Martín 1 year ago
parent
commit
aad92d84ff
  1. 4
      features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/MessagesReactionButton.kt

4
features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/MessagesReactionButton.kt

@ -117,7 +117,7 @@ private fun TextContent( @@ -117,7 +117,7 @@ private fun TextContent(
.height(reactionEmojiLineHeight.toDp()),
text = text,
style = ElementTheme.typography.fontBodyMdRegular,
color = MaterialTheme.colorScheme.primary
color = ElementTheme.materialColors.primary
)
@Composable
@ -127,7 +127,7 @@ private fun IconContent( @@ -127,7 +127,7 @@ private fun IconContent(
) = Icon(
imageVector = imageVector,
contentDescription = stringResource(id = R.string.screen_room_timeline_add_reaction),
tint = MaterialTheme.colorScheme.secondary,
tint = ElementTheme.materialColors.secondary,
modifier = modifier
.size(reactionEmojiLineHeight.toDp())
)

Loading…
Cancel
Save