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

Loading…
Cancel
Save