♿ Block user action when attachments isn't ready
This commit is contained in:
@ -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,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user