fix: Correct formatting and indentation in FileAttachment component
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user