Use ElementTheme as much as possible
This commit is contained in:
parent
0c9c162354
commit
217169620c
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue