fix: Correct formatting and indentation in FileAttachment component

This commit is contained in:
k1ngsterr1
2026-01-26 13:22:54 +05:00
parent 99a1156e96
commit d0a9431842

View File

@@ -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) {