@Composable private fun FileAttachmentDescription(attachment: Attachment) {Column(modifier = Modifier.fillMaxWidth(0.85f).padding(start = 16.dp, end = 8.dp),horizontalAlignment = Alignment.Start,verticalArrangement = Arrangement.Center) {Text(text = attachment.title ?: attachment.name ?: "",style = ChatTheme.typography.bodyBold,maxLines = 1,overflow = TextOverflow.Ellipsis,color = ChatTheme.colors.textHighEmphasis)Text(text = MediaStringUtil.convertFileSizeByteCount(attachment.fileSize.toLong()),style = ChatTheme.typography.footnote,color = ChatTheme.colors.textLowEmphasis)}}
Displays information about the attachment such as the attachment title and its size in bytes.