unblocked editor while images upload in background

This commit is contained in:
Nouman Tahir 2021-04-04 01:51:00 +05:00
parent 39032ba74b
commit 032e6f74a8
2 changed files with 4 additions and 2 deletions

View File

@ -52,6 +52,7 @@ const MarkdownEditorView = ({
isPreviewActive,
isReply,
isLoading,
isUploading,
initialFields,
onChange,
handleOnTextChange,
@ -399,7 +400,7 @@ const MarkdownEditorView = ({
handleOnUploadPress={() => {
galleryRef.current.show();
}}
isUploading={isLoading}
isUploading={isUploading}
uploadedImage={uploadedImage}
/>

View File

@ -362,7 +362,8 @@ class EditorScreen extends Component {
uploadedImage={uploadedImage}
initialFields={this._initialFields}
isReply={isReply}
isLoading={isPostSending || isUploading}
isLoading={isPostSending}
isUploading={isUploading}
isEdit={isEdit}
post={post}
fields={fields}