From d0a943184281ae865477093253bd9838d6a1df83 Mon Sep 17 00:00:00 2001 From: k1ngsterr1 Date: Mon, 26 Jan 2026 13:22:54 +0500 Subject: [PATCH] fix: Correct formatting and indentation in FileAttachment component --- .../chats/components/AttachmentComponents.kt | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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) {