mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-06 11:59:58 +02:00
avoid null in attachment filename
This commit is contained in:
parent
4d6fd16767
commit
e9d2a39098
3 changed files with 8 additions and 2 deletions
|
@ -1178,7 +1178,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|||
@Override
|
||||
public void onImageCapture(@NonNull final byte[] imageBytes) {
|
||||
setMedia(PersistentBlobProvider.getInstance()
|
||||
.create(this, imageBytes, MediaUtil.IMAGE_JPEG, null),
|
||||
.create(this, imageBytes, MediaUtil.IMAGE_JPEG, "image.jpeg"),
|
||||
MediaType.IMAGE);
|
||||
quickAttachmentDrawer.hide(false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue