mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Remove unnecessary parenthesis
This commit is contained in:
+2
-2
@@ -38,9 +38,9 @@ fun TimelineItemEncryptedView(
|
|||||||
) {
|
) {
|
||||||
val isMembershipUtd = (content.data as? UnableToDecryptContent.Data.MegolmV1AesSha2)?.utdCause == UtdCause.Membership
|
val isMembershipUtd = (content.data as? UnableToDecryptContent.Data.MegolmV1AesSha2)?.utdCause == UtdCause.Membership
|
||||||
val (textId, iconId) = if (isMembershipUtd) {
|
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 {
|
} else {
|
||||||
(CommonStrings.common_waiting_for_decryption_key to CompoundDrawables.ic_compound_time)
|
CommonStrings.common_waiting_for_decryption_key to CompoundDrawables.ic_compound_time
|
||||||
}
|
}
|
||||||
TimelineItemInformativeView(
|
TimelineItemInformativeView(
|
||||||
text = stringResource(id = textId),
|
text = stringResource(id = textId),
|
||||||
|
|||||||
Reference in New Issue
Block a user