Update 2026-04-17

This commit is contained in:
mageshwaran committed 2026-04-17 10:24:14 +05:30
1 parent 96de59e9be
commit d1b4fb344e
6 files changed
+42 -14

No files matched your search

@@ -229,6 +229,8 @@ class _ChatInputBoxState extends ConsumerState<ChatInputBox> {
return Icons.description;
} else if (['xls', 'xlsx'].contains(ext)) {
return Icons.table_chart;
} else if (['zip', 'rar', '7z'].contains(ext)) {
return Icons.folder_zip;
} else {
return Icons.insert_drive_file;
}
+5 -1
View File
@@ -582,7 +582,11 @@ class SwipeableMessageBubbleState extends State<SwipeableMessageBubble>
child: Row(
children: [
Icon(
Icons.insert_drive_file,
['xls', 'xlsx'].contains(doc.fileType.toLowerCase())
? Icons.table_chart
: ['zip', 'rar', '7z'].contains(doc.fileType.toLowerCase())
? Icons.folder_zip
: Icons.insert_drive_file,
color: Colors.grey[600],
),
const SizedBox(width: 8),