mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 18:28:59 +03:00
Merge pull request #6807 from merttumer/master
Fix insert image file picker only opens once
This commit is contained in:
commit
8fc2bcdab0
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue