mirror of
https://github.com/gsantner/dandelion
synced 2024-12-22 19:08:03 +01:00
Fixed crash after clicking photo upload button twice (#139)
This commit is contained in:
parent
8ef2cacc79
commit
392b76c53d
1 changed files with 0 additions and 2 deletions
|
@ -265,8 +265,6 @@ public class DiasporaStreamFragment extends BrowserFragment {
|
|||
}
|
||||
}
|
||||
AppLog.v(this, "onOpenFileChooser");
|
||||
if (imageUploadFilePathCallbackNew != null)
|
||||
imageUploadFilePathCallbackNew.onReceiveValue(null);
|
||||
imageUploadFilePathCallbackNew = filePathCallback;
|
||||
Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
|
||||
if (takePictureIntent.resolveActivity(getContext().getPackageManager()) != null) {
|
||||
|
|
Loading…
Reference in a new issue