🐛 Fix cached un-analyzed attachment meta
This commit is contained in:
@ -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),
|
||||
|
@ -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(
|
||||
|
Reference in New Issue
Block a user