fix: LoadingSnackBar consistently remains visible until the upload is complete

- Adjusted the `SendFileDialogState` file to ensure that the `showLoadingSnackBar` remains visible throughout the file upload process.
- the SnackBar is cleared only after the image/file is uploaded and displayed in the chat.
pull/1533/head
JaWeee 11 months ago
parent 583bf5f2da
commit c96cf2339c

@ -88,8 +88,6 @@ class SendFileDialogState extends State<SendFileDialog> {
widget.files.length, widget.files.length,
), ),
); );
} else {
scaffoldMessenger.clearSnackBars();
} }
try { try {

Loading…
Cancel
Save