Skip to content

Commit

Permalink
fix(android): the Ti.UI.Clipboard#hasData() arg is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtcoolguy committed Dec 11, 2020
1 parent b749629 commit 51b6428
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public String getText()
}

@Kroll.method
public boolean hasData(String type)
public boolean hasData(@Kroll.argument(optional = true) String type)
{
if (type == null || isTextType(type)) {
return hasText();
Expand Down

0 comments on commit 51b6428

Please sign in to comment.