Skip to content
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

text action menu is not supported #325

Open
tom5079 opened this issue May 26, 2019 · 1 comment
Open

text action menu is not supported #325

tom5079 opened this issue May 26, 2019 · 1 comment

Comments

@tom5079
Copy link

tom5079 commented May 26, 2019

Text action menus without icon automatically go to the overflow section because of the line 178 in MenuView

List<MenuItemImpl> localActionItems = filter(mMenuItems, new MenuItemImplPredicate() {
	@Override
	public boolean apply(MenuItemImpl menuItem) {
		return menuItem.getIcon() != null && (menuItem.requiresActionButton() || menuItem.requestsActionButton());
	}
});

I don't think menuItem.getIcon() != null is nessesary because option always|withText without icon is possible

@tom5079
Copy link
Author

tom5079 commented May 26, 2019

BTW, is this repository even mantained?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant