mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Use ElementTheme as much as possible
This commit is contained in:
+2
-2
@@ -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())
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user