Block user action when attachments isn't ready

This commit is contained in:
2024-08-01 22:36:00 +08:00
parent 8b3c45ab29
commit 27c60fc8cb
6 changed files with 40 additions and 6 deletions

View File

@ -455,11 +455,12 @@ class _AttachmentEditorPopupState extends State<AttachmentEditorPopup> {
const SizedBox(width: 10),
Obx(() {
if (_uploadController.isUploading.value) {
return const SizedBox(
return SizedBox(
width: 18,
height: 18,
child: CircularProgressIndicator(
strokeWidth: 2.5,
value: _uploadController.progressOfUpload.value,
),
);
}