Use ElementTheme as much as possible

This commit is contained in:
Jorge Martín
2023-07-20 07:27:02 +02:00
parent 0c9c162354
commit 217169620c

View File

@@ -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(
) = 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())
)