Merge pull request #6807 from merttumer/master

Fix insert image file picker only opens once
This commit is contained in:
Tobias Kaminsky 2020-08-26 09:10:30 +02:00 committed by GitHub
commit 8fc2bcdab0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -144,7 +144,10 @@ public class RichDocumentsEditorWebView extends EditorWebView {
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (RESULT_OK != resultCode) {
// TODO
if (requestCode == REQUEST_LOCAL_FILE) {
this.uploadMessage.onReceiveValue(null);
this.uploadMessage = null;
}
return;
}