Fix crash when clicking "Save" on attachment that needs to be downloaded

This commit is contained in:
cketti 2017-04-13 19:15:33 +02:00
parent bb16b1da3b
commit 336da94386

View file

@ -805,7 +805,7 @@ public class MessageViewFragment extends Fragment implements ConfirmationDialogF
@Override @Override
public void onSaveAttachment(AttachmentViewInfo attachment) { public void onSaveAttachment(AttachmentViewInfo attachment) {
//TODO: check if we have to download the attachment first //TODO: check if we have to download the attachment first
currentAttachmentViewInfo = attachment;
getAttachmentController(attachment).saveAttachment(); getAttachmentController(attachment).saveAttachment();
} }