Skip to content

Commit

Permalink
fix: code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
avinashlng1080 committed Nov 29, 2022
1 parent 486e168 commit 95cf891
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public void sendMail(ReadableMap options, Promise promise) {
Intent i = new Intent(Intent.ACTION_SEND_MULTIPLE);
i.setData(Uri.parse("mailto:"));
i.setType("message/rfc822");

if (options.hasKey("subject") && !options.isNull("subject")) {
i.putExtra(Intent.EXTRA_SUBJECT, options.getString("subject"));
}
Expand Down

0 comments on commit 95cf891

Please sign in to comment.