🐛 Fixes attachments

This commit is contained in:
2025-08-08 15:04:50 +08:00
parent fa210dd98f
commit 43c90da4e3
4 changed files with 162 additions and 162 deletions

View File

@@ -1061,14 +1061,14 @@ class _ChatInput extends HookConsumerWidget {
children: [
if (attachments.isNotEmpty)
SizedBox(
height: 324,
height: 280,
child: ListView.separated(
padding: EdgeInsets.symmetric(horizontal: 12),
scrollDirection: Axis.horizontal,
itemCount: attachments.length,
itemBuilder: (context, idx) {
return SizedBox(
height: 320,
height: 280,
width: 280,
child: AttachmentPreview(
item: attachments[idx],