diff --git a/app/src/main/java/com/rosetta/messenger/ui/chats/components/AttachmentComponents.kt b/app/src/main/java/com/rosetta/messenger/ui/chats/components/AttachmentComponents.kt index 05be4f1..12a920b 100644 --- a/app/src/main/java/com/rosetta/messenger/ui/chats/components/AttachmentComponents.kt +++ b/app/src/main/java/com/rosetta/messenger/ui/chats/components/AttachmentComponents.kt @@ -657,17 +657,17 @@ fun FileAttachment( DownloadStatus.ERROR -> "File expired" else -> "${formatFileSize(fileSize)} $fileExtension" }, - fontSize = 12.sp, - color = if (downloadStatus == DownloadStatus.ERROR) { - Color(0xFFE53935) - } else if (isOutgoing) { - Color.White.copy(alpha = 0.7f) - } else { - PrimaryBlue - } - ) + fontSize = 12.sp, + color = if (downloadStatus == DownloadStatus.ERROR) { + Color(0xFFE53935) + } else if (isOutgoing) { + Color.White.copy(alpha = 0.7f) + } else { + PrimaryBlue + } + ) + } } - } // Time and checkmarks (bottom-right overlay) for outgoing files if (isOutgoing) {