From 80497a8b30abde15a2a74e03a428d773ef508c01 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 30 Apr 2024 09:47:20 +0200 Subject: [PATCH] Remove unnecessary parenthesis --- .../timeline/components/event/TimelineItemEncryptedView.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/event/TimelineItemEncryptedView.kt b/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/event/TimelineItemEncryptedView.kt index 57cf3e0ecc..b0753be9b1 100644 --- a/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/event/TimelineItemEncryptedView.kt +++ b/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/event/TimelineItemEncryptedView.kt @@ -38,9 +38,9 @@ fun TimelineItemEncryptedView( ) { val isMembershipUtd = (content.data as? UnableToDecryptContent.Data.MegolmV1AesSha2)?.utdCause == UtdCause.Membership val (textId, iconId) = if (isMembershipUtd) { - (CommonStrings.common_unable_to_decrypt_no_access to CompoundDrawables.ic_compound_block) + CommonStrings.common_unable_to_decrypt_no_access to CompoundDrawables.ic_compound_block } else { - (CommonStrings.common_waiting_for_decryption_key to CompoundDrawables.ic_compound_time) + CommonStrings.common_waiting_for_decryption_key to CompoundDrawables.ic_compound_time } TimelineItemInformativeView( text = stringResource(id = textId),