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. Signed-off-by: JaWeee <dohoanggiahuy310703@gmail.com>
This commit is contained in:
parent
583bf5f2da
commit
92dada533b
1 changed files with 0 additions and 2 deletions
|
|
@ -88,8 +88,6 @@ class SendFileDialogState extends State<SendFileDialog> {
|
|||
widget.files.length,
|
||||
),
|
||||
);
|
||||
} else {
|
||||
scaffoldMessenger.clearSnackBars();
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue