Skip to content

Commit

Permalink
fix(android): restore MenuItem is* boolean query methods
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtcoolguy committed Apr 8, 2021
1 parent e84ce9d commit 49a6f7f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,24 +92,28 @@ public boolean hasSubMenu()
}

@Kroll.getProperty
@Kroll.method
public boolean isChecked()
{
return item.isChecked();
}

@Kroll.getProperty
@Kroll.method
public boolean isCheckable()
{
return item.isCheckable();
}

@Kroll.getProperty
@Kroll.method
public boolean isEnabled()
{
return item.isEnabled();
}

@Kroll.getProperty
@Kroll.method
public boolean isVisible()
{
return item.isVisible();
Expand Down Expand Up @@ -313,6 +317,7 @@ public void run()
}

@Kroll.getProperty
@Kroll.method
public boolean isActionViewExpanded()
{
return item.isActionViewExpanded();
Expand Down

0 comments on commit 49a6f7f

Please sign in to comment.