Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 336da943 authored by cketti's avatar cketti
Browse files

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

parent bb16b1da
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -805,7 +805,7 @@ public class MessageViewFragment extends Fragment implements ConfirmationDialogF
    @Override
    public void onSaveAttachment(AttachmentViewInfo attachment) {
        //TODO: check if we have to download the attachment first

        currentAttachmentViewInfo = attachment;
        getAttachmentController(attachment).saveAttachment();
    }