Describe the bug
The function attachments(attachments: List<MaildroidXAttachment>) returns Unit instead of MaildroidX.Builder, making it not chainable.
To Reproduce
Use attachments(attachments: List<MaildroidXAttachment>) and use it in the MaildroidX.Builder.
Expected behavior
Replace the assignment to attachments(attachments: List<MaildroidXAttachment>) with a call to apply {...}
Describe the bug
The function
attachments(attachments: List<MaildroidXAttachment>)returns Unit instead ofMaildroidX.Builder, making it not chainable.To Reproduce
Use
attachments(attachments: List<MaildroidXAttachment>)and use it in theMaildroidX.Builder.Expected behavior
Replace the assignment to
attachments(attachments: List<MaildroidXAttachment>)with a call toapply {...}