TF-725 Handle upload inline image to server
This commit is contained in:
@@ -53,7 +53,7 @@ class UploadAttachment extends Equatable {
|
||||
}
|
||||
|
||||
if (attachment != null) {
|
||||
_updateEvent(Right(SuccessAttachmentUploadState(uploadTaskId, attachment)));
|
||||
_updateEvent(Right(SuccessAttachmentUploadState(uploadTaskId, attachment, fileInfo)));
|
||||
} else {
|
||||
_updateEvent(Left(ErrorAttachmentUploadState(uploadTaskId)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user