Skip to content

Commit

Permalink
refactor: rename private property _theme to __theme (#2844)
Browse files Browse the repository at this point in the history
  • Loading branch information
vursen authored Mar 11, 2022
1 parent 2dd580b commit 5ccf1b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
public abstract class MenuItemBase<C extends ContextMenuBase<C, I, S>, I extends MenuItemBase<C, I, S>, S extends SubMenuBase<C, I, S>>
extends Component implements HasText, HasComponents, HasEnabled {

private static final String PRIVATE_THEME_ATTRIBUTE = "_theme";
private static final String PRIVATE_THEME_ATTRIBUTE = "__theme";

private final C contextMenu;
private S subMenu;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ import * as Gestures from "@vaadin/component-base/src/gestures.js";
const item = {
component: child,
checked: child._checked,
theme: child._theme
theme: child.__theme
};
if (
child.tagName == "VAADIN-CONTEXT-MENU-ITEM" &&
Expand Down

0 comments on commit 5ccf1b1

Please sign in to comment.