From 217169620c85ed140511f229e95bb2dd889d3ff8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Mart=C3=ADn?= Date: Thu, 20 Jul 2023 07:27:02 +0200 Subject: [PATCH] Use `ElementTheme` as much as possible --- .../impl/timeline/components/MessagesReactionButton.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/MessagesReactionButton.kt b/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/MessagesReactionButton.kt index 083bfcb7b5..20658c798e 100644 --- a/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/MessagesReactionButton.kt +++ b/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()), 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()) )