-
Notifications
You must be signed in to change notification settings - Fork 249
Add support for attachments #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
RNMail/RNMail.m
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would a switch case be easy to maintain?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Switch statements don´t work with NSStrings, only with integers.
RNMail/RNMail.m
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bail out early. check if attachment is available first and then attachment[path].
Also, If name is optional then why check for it here? Did you mean type?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, sorry for the typo. Should be fixed
|
Awesome. one last nit i guess and then will merge it. |
|
👍 Thanks @christopherdro |
|
👍 np! |
No description provided.