This commit is contained in:
Deven Joshi
2021-12-21 15:56:53 +05:30
parent ba7e915885
commit 3f0eb33d6e
@@ -343,8 +343,6 @@ class _StreamAttachmentPickerState extends State<StreamAttachmentPicker> {
.any((e) => e.id == media.id)) { .any((e) => e.id == media.id)) {
messageInputController messageInputController
.removeAttachmentById(media.id); .removeAttachmentById(media.id);
// setState(() => messageInputController.attachments
// .removeWhere((e) => e.id == media.id));
} else { } else {
_addAssetAttachment(media); _addAssetAttachment(media);
} }