🐛 Fix cached un-analyzed attachment meta

This commit is contained in:
2024-12-14 01:45:36 +08:00
parent b618fcc6da
commit b750cc3c67
4 changed files with 4 additions and 9 deletions

View File

@ -187,7 +187,7 @@ class _AppSplashScreenState extends State<_AppSplashScreen> {
body: Container(
constraints: const BoxConstraints(maxWidth: 180),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center,
mainAxisSize: MainAxisSize.min,
children: [
Image.asset("assets/icon/icon.png", width: 64, height: 64),

View File

@ -104,11 +104,6 @@ class ChatMessageInputState extends State<ChatMessageInput> {
return;
}
attach.putCache(
_attachments.where((e) => e.attachment != null).map((e) => e.attachment!),
noCheck: true,
);
// Send the message
// NOTICE This future should not be awaited, so that the message can be sent in the background and the user can continue to type
widget.controller.sendMessage(