Skip to content

Commit

Permalink
fix(android): correctly get the boolean for isHtml (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
ikosta authored Oct 23, 2021
1 parent 8ae4454 commit ebf62b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public Intent getIntent(PluginCall call) throws JSONException {

// Body
String body = call.getString("body", "");
CharSequence bodyText = call.getBool("isHtml") ? Html.fromHtml(body) : body;
CharSequence bodyText = call.getBoolean("isHtml") ? Html.fromHtml(body) : body;

// To
List<String> toList = call.getArray("to").toList();
Expand Down

0 comments on commit ebf62b2

Please sign in to comment.